guide: allow using newer gh-actions-pages version

This commit is contained in:
David Hewitt 2021-08-11 23:50:58 +01:00
parent 140c090504
commit 72f3f1131b

View file

@ -50,7 +50,7 @@ jobs:
- name: Deploy - name: Deploy
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
uses: peaceiris/actions-gh-pages@v3.7.0-8 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./gh-pages-build/ publish_dir: ./gh-pages-build/
@ -71,7 +71,7 @@ jobs:
ln -sfT $TAG_NAME public/latest ln -sfT $TAG_NAME public/latest
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3.7.0-8 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public/ publish_dir: ./public/