CI: use GITHUB_TOKEN for page deployment
authorPaul Spooren <mail@aparcar.org>
Sat, 9 Oct 2021 03:20:07 +0000 (17:20 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 9 Oct 2021 03:20:07 +0000 (17:20 -1000)
The token is set automatically when running on the master branch, no
personal access token is required.

Signed-off-by: Paul Spooren <mail@aparcar.org>
.github/workflows/jsdoc.yml

index dd9d952176d072c453566d3509be1159bc1bd5b9..b8cc3bc3b212d31180ac127defea895a477dc870 100644 (file)
@@ -27,5 +27,5 @@ jobs:
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3
         with:
-          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
+          github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: ./docs/