Use existing secret name in docs publish step
This commit is contained in:
parent
061250ade5
commit
522b7e0d92
4
.github/workflows/cli.yml
vendored
4
.github/workflows/cli.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user