Skip to content

Commit dc14354

Browse files
committed
use ACTIONS_DEPLOY_KEY
1 parent ff31923 commit dc14354

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ on:
77
# Allows you to run this workflow manually from the Actions tab
88
workflow_dispatch:
99

10-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11-
permissions:
12-
contents: read
13-
pages: write
14-
id-token: write
15-
1610
# Allow one concurrent deployment
1711
concurrency:
1812
group: "pages"
@@ -33,4 +27,4 @@ jobs:
3327
uses: peaceiris/actions-gh-pages@v4
3428
with:
3529
publish_dir: __sapper__/export
36-
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

0 commit comments

Comments
 (0)