fix: Change token to be able to reach repo

This commit is contained in:
Bart van der Braak 2023-06-11 00:14:08 +02:00
parent 6645962e4c
commit 3d452350df

View file

@ -15,6 +15,9 @@ concurrency:
jobs:
build-deploy:
if: github.event.deployment_status.state == 'success'
environment:
name: github-pages
url: ''
runs-on: ubuntu-latest
steps:
- name: Check out
@ -38,7 +41,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GH_PAGES_TOKEN }}
publish_dir: ./.unlighthouse
destination_dir: ${{ github.head_ref }}