upgrade wrangler

pull/19/head
septs 2023-08-26 13:09:06 +08:00
parent 05317d271d
commit 152e4ae0b4
No known key found for this signature in database
GPG Key ID: 65144037AFA516E1
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ jobs:
- run: hugo --minify
env:
HUGO_DISABLELANGUAGES: 'en'
- run: npx wrangler pages publish public --project-name tfsci --branch main
- run: npx wrangler pages deploy public --project-name tfsci --branch main
if: github.ref == 'refs/heads/main'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}