release to cloudflare as well (#448)

Reviewed-on: https://gitea.com/gitea/docs/pulls/448
This commit is contained in:
Lunny Xiao
2026-06-28 03:29:01 +00:00
parent c9216685d5
commit 7fe73e351f

View File

@@ -41,3 +41,11 @@ jobs:
run: |
aws s3 sync build/ s3://docs-gitea-com
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