From bf1ade5ac11f915693037d354c13d2fd711b8067 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 19 Mar 2020 08:27:03 +0200 Subject: [PATCH] Update peaceiris/actions-gh-pages to the v3 tag Also, switch from the env vars to the `with` options --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f363fe0..dfaf505 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/