[github actions] Pass repo token to docfx job

Honestly I'm just winging it at this point.
This commit is contained in:
Oliver Booth 2022-05-12 14:45:39 +01:00
parent cd9d2d7bef
commit 4da6ac7de4
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ jobs:
args: docfx_project/docfx.json
- uses: maxheld83/ghpages@master
name: Publish Documentation on GitHub Pages
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
env:
BUILD_DIR: docfx_project/_site
GH_PAT: ${{ secrets.GH_PAT }}