We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fe9296 commit ab9f918Copy full SHA for ab9f918
1 file changed
.github/workflows/ci.yml
@@ -9,6 +9,7 @@ on:
9
10
permissions:
11
contents: read
12
+ deployments: write
13
14
concurrency:
15
group: ${{ github.workflow }}-${{ github.ref }}
@@ -55,9 +56,10 @@ jobs:
55
56
run: pnpm run build
57
58
- name: Deploy to Cloudflare Pages
- if: github.ref == 'refs/heads/develop' && github.event_name == 'push' && github.repository == 'connectbot/connectbot.github.io'
59
+ if: github.repository == 'connectbot/connectbot.github.io'
60
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
61
with:
62
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
63
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
64
command: pages deploy ./out --project-name=connectbot-website
65
+ gitHubToken: ${{ secrets.GITHUB_TOKEN }}
0 commit comments