Use existing secret name in docs publish step

This commit is contained in:
Dan Buch 2022-05-18 22:46:36 -04:00
parent 061250ade5
commit 522b7e0d92
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -94,7 +94,7 @@ jobs:
git diff --cached --exit-code git diff --cached --exit-code
publish: publish:
if: startswith(github.ref, 'refs/tags/') #if: startswith(github.ref, 'refs/tags/')
name: publish name: publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -104,5 +104,5 @@ jobs:
- name: Publish Docs - name: Publish Docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master uses: mhausenblas/mkdocs-deploy-gh-pages@master
env: env:
GITHUB_TOKEN: ${{ secrets.MKDOCS_PUBLISH_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: mkdocs-requirements.txt REQUIREMENTS: mkdocs-requirements.txt