1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:58:49 +00:00

[github actions] Pass GITHUB_TOKEN to docfx job

I'm still winging it. I have no idea how to fix this bug because the action in question is beyond my control.

https://github.com/maxheld83/ghpages/issues/31

^ This issue claims the linked issue provides a fix. Wasn't able to follow, so I'm just passing this token because... why not at this point? I'm getting tired of making commits that fails CI. I just want to watch Better Call Saul.
This commit is contained in:
Oliver Booth 2022-05-12 15:00:40 +01:00
parent f6aeaf35f7
commit 5d7d570749
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -14,10 +14,9 @@ jobs:
name: Build Documentation
with:
args: docfx_project/docfx.json
env:
GH_PAT: ${{ secrets.GH_PAT }}
- uses: maxheld83/ghpages@master
name: Publish Documentation on GitHub Pages
env:
BUILD_DIR: docfx_project/_site
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}