File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010permissions :
1111 contents : read
12+ deployments : write
1213
1314concurrency :
1415 group : ${{ github.workflow }}-${{ github.ref }}
5556 run : pnpm run build
5657
5758 - name : Deploy to Cloudflare Pages
58- if : github.ref == 'refs/heads/develop ' && github.event_name == 'push' && github.repository == 'connectbot/connectbot. github.io'
59+ if : github.repository == 'connectbot/connectbot.github.io ' && ( github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
5960 uses : cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
6061 with :
6162 apiToken : ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
6263 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
6364 command : pages deploy ./out --project-name=connectbot-website
65+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments