From 94ba60dff75e6175958e56ee13bfb74034cb49ec Mon Sep 17 00:00:00 2001 From: Christian Flach Date: Thu, 30 Jul 2020 09:37:05 +0200 Subject: [PATCH] Switch to other action for uploading to GitHub pages --- .github/workflows/main.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e036082..123312a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,11 +22,12 @@ jobs: touch build/.nojekyll - name: Upload to GitHub Pages if: github.ref == 'refs/heads/master' - uses: peaceiris/actions-gh-pages@v2.5.0 - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./docs/build + uses: JamesIves/github-pages-deploy-action@releases/v3 with: - emptyCommits: false - keepFiles: false + GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: docs/build + CLEAN: true + SINGLE_COMMIT: true + GIT_CONFIG_NAME: GitHub Actions + GIT_CONFIG_EMAIL: gh-actions@example.com \ No newline at end of file