diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index e6e0cd0a38..597a91d4c2 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -55,8 +55,10 @@ jobs: command: "site" env: GH_PAT: ${{ secrets.GH_PAT }} - - uses: maxheld83/ghpages@v0.3.0 + - uses: peaceiris/actions-gh-pages@v3.7.3 name: GitHub Pages Deploy - env: - BUILD_DIR: "site/status-page/__sapper__/export/" - GH_PAT: ${{ secrets.GH_PAT }} + with: + github_token: ${{ secrets.GH_PAT }} + publish_dir: "site/status-page/__sapper__/export/" + user_name: "Upptime Bot" + user_email: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 9a1c9a5fbc..f53367506f 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -31,8 +31,10 @@ jobs: command: "site" env: GH_PAT: ${{ secrets.GH_PAT }} - - uses: maxheld83/ghpages@v0.3.0 + - uses: peaceiris/actions-gh-pages@v3.7.3 name: GitHub Pages Deploy - env: - BUILD_DIR: "site/status-page/__sapper__/export/" - GH_PAT: ${{ secrets.GH_PAT }} + with: + github_token: ${{ secrets.GH_PAT }} + publish_dir: "site/status-page/__sapper__/export/" + user_name: "Upptime Bot" + user_email: "73812536+upptime-bot@users.noreply.github.com"