Skip to content

Commit 421201c

Browse files
committed
ci: 👷 Move GITHUB_TOKEN into github-token secrets
1 parent a272738 commit 421201c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-website.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ on:
88
# Limit token permissions for security
99
permissions: read-all
1010

11-
# This is to allow using `gh` CLI
12-
env:
13-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
1511
jobs:
1612
build-website:
1713
uses: seedcase-project/.github/.github/workflows/reusable-build-docs-with-python.yml@main
1814
secrets:
1915
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
16+
# This is to allow using `gh` CLI
17+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)