diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 36acd03..f73120a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,10 +32,8 @@ jobs: # Push to the gh-pages branch - name: Push to gh-pages branch - uses: s0/git-publish-subdir-action@develop + uses: JamesIves/github-pages-deploy-action@v4.4.1 env: - REPO: self - BRANCH: gh-pages # The branch name where you want to push the assets - FOLDER: dist # The directory where your assets are generated - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token - MESSAGE: "Build: ({sha}) {msg}" # The commit message + branch: gh-pages # The branch name where you want to push the assets + folder: dist # The directory where your assets are generated + single-commit: true