We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe23f9 commit 4bb81e5Copy full SHA for 4bb81e5
1 file changed
.github/workflows/build-deploy.yml
@@ -13,6 +13,9 @@ on:
13
jobs:
14
build-deploy:
15
runs-on: ubuntu-latest
16
+ permissions:
17
+ contents: read
18
+ deployments: write
19
steps:
20
- name: Checkout Repository
21
uses: actions/checkout@v3
@@ -48,7 +51,8 @@ jobs:
48
51
run: pnpm build
49
52
50
53
- name: Deploy to Cloudflare Pages
- env:
- CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
54
- run: pnpm deploy
+ uses: cloudflare/wrangler-action@2.0.0
55
+ with:
56
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
57
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
58
+ command: pages deploy public --project-name=bytelog
0 commit comments