Skip to content

Commit 75e8afc

Browse files
committed
Try secret token fix
1 parent f11f43e commit 75e8afc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
uses: cloudflare/wrangler-action@v3
1919
with:
2020
apiToken: ${{ secrets.CF_API_TOKEN }}
21-
secrets: |
22-
GITHUB_TOKEN
21+
secrets: ${{ secrets.GITHUB_TOKEN != '' && 'GITHUB_TOKEN' || '' }}
2322
env:
2423
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
2524
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)