Update ghpages.yml

This commit is contained in:
Morten Nielsen 2020-01-20 23:09:14 -08:00 committed by GitHub
parent 1d972b3f77
commit 0140c41b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,8 +26,17 @@ jobs:
# with:
# args: docs/docfx.json
run: build\GenerateDoc.cmd
- name: Publish Documentation
uses: maxheld83/ghpages@master
uses: peaceiris/actions-gh-pages@v2
env:
BUILD_DIR: artifacts/docs_site
GH_PAT: ${{ secrets.GH_PAT }}
# ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PERSONAL_TOKEN: ${{ secrets.GH_PAT }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./artifacts/docs_site
# uses: maxheld83/ghpages@master
# env:
# BUILD_DIR: artifacts/docs_site
# GH_PAT: ${{ secrets.GH_PAT }}