Update peaceiris/actions-gh-pages to the v3 tag

Also, switch from the env vars to the `with` options
This commit is contained in:
XhmikosR
2020-03-19 08:27:03 +02:00
parent 571a10bb1f
commit bf1ade5ac1

View File

@@ -54,11 +54,10 @@ jobs:
path: ./site/
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
uses: peaceiris/actions-gh-pages@v3
if: success()
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./site/
with:
emptyCommits: false
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_branch: gh-pages
publish_dir: ./site/