Skip to content

Commit

Permalink
fix(workflow): fix cloudflare deploy command
Browse files Browse the repository at this point in the history
Signed-off-by: samzong <samzong.lu@gmail.com>
  • Loading branch information
samzong committed Feb 13, 2025
1 parent 8bc4421 commit be6d453
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ jobs:
- run: python scripts/refresh_cdn_cache.py \
publickey=$UCLOUD_PUBLICKEY \
privatekey=$UCLOUD_PRIVATEKEY

# show where am I
- run: pwd
- run: ls -la

- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ../../public/ --project-name=drun-website --branch=production
command: pages deploy ../public --project-name=drun-website --branch=production

0 comments on commit be6d453

Please sign in to comment.