Skip to content

Commit b67d62e

Browse files
committed
pass secret correctly
1 parent d1adf2a commit b67d62e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
type: string
1515
description: "create or delete preview"
1616
secrets:
17-
GITHUB_TOKEN:
17+
TOKEN:
1818
required: true
1919

2020
jobs:
@@ -25,7 +25,7 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
2727
with:
28-
token: ${{ secrets.GITHUB_TOKEN }}
28+
token: ${{ secrets.TOKEN }}
2929
ref: gh-pages
3030
path: gh-pages
3131

.github/workflows/test-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
commit_sha: ${{ github.sha }}
4747
action: ${{ github.event.action == 'closed' && 'delete' || 'create' }}
4848
secrets:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)