mirror of
https://github.com/pi-hole/docs.git
synced 2026-04-17 23:53:15 +01:00
Update peaceiris/actions-gh-pages to the v3 tag
Also, switch from the env vars to the `with` options
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user