Skip to content

Commit

Permalink
ci: fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
geniucker-dev committed Jan 8, 2025
1 parent 9939dee commit 361895a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
workflow_dispatch:

permissions:
deployments: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -28,9 +31,9 @@ jobs:
run: python3 .github/scripts/build.py

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: zjuintl-icicles
directory: site
command: pages deploy site --project-name=zjuintl-icicles
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 361895a

Please sign in to comment.