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