ci: fix gh-pages action token variable name

This commit is contained in:
Haishan 2019-11-17 17:56:32 +08:00
parent 825b59f571
commit d3b6f67e15

View file

@ -41,7 +41,7 @@ jobs:
# push only when the branch is publish
# if: github.event_name == 'push' && github.event.ref == 'refs/heads/publish'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TOKEN }}
PUBLISH_DIR: public
BRANCH: gh-pages
run: |