mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 18:27:41 +00:00
release to cloudflare as well (#448)
Reviewed-on: https://gitea.com/gitea/docs/pulls/448
This commit is contained in:
@@ -41,3 +41,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
aws s3 sync build/ s3://docs-gitea-com
|
aws s3 sync build/ s3://docs-gitea-com
|
||||||
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION}} --paths '/*'
|
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION}} --paths '/*'
|
||||||
|
- name: Copy files to Cloudflare Pages
|
||||||
|
env:
|
||||||
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
run: |
|
||||||
|
pnpm dlx wrangler@4 pages deploy build \
|
||||||
|
--project-name docs-gitea-com \
|
||||||
|
--branch main
|
||||||
|
|||||||
Reference in New Issue
Block a user