From 3d0182d5ca4aa2cf0f96c5c7c5a9a47457eecffb Mon Sep 17 00:00:00 2001 From: Saji Weerasingham Date: Sun, 31 Dec 2023 03:21:03 +1000 Subject: [PATCH] Change action used for deployment (#8) --- .github/workflows/deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 264e2d6..ee8c544 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,8 +22,11 @@ jobs: - name: Add .nojekyll file run: touch release/wwwroot/.nojekyll - name: Commit wwwroot to GitHub Pages - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: peaceiris/actions-gh-pages@v3.6.1 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: release/wwwroot + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: release/wwwroot + allow_empty_commit: false + keep_files: false + force_orphan: true