1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 03:45:41 +00:00

[github actions] Pass GH_PAT to docfx-action

Still winging things.
This commit is contained in:
Oliver Booth 2022-05-12 14:50:47 +01:00
parent 4da6ac7de4
commit f6aeaf35f7
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

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