diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ce9ae121..5c44b69e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,10 +49,15 @@ jobs: cd bin ./fix-path cd .. - git config user.name github-actions - git config user.email github-actions@github.com - git config pull.rebase false - # git pull origin gh-pages - git add . - git commit -nm "Release $version" - git push origin gh-pages + # git config user.name github-actions + # git config user.email github-actions@github.com + # git config pull.rebase false + # # git pull origin gh-pages + # git add . + # git commit -nm "Release $version" + # git push --force origin gh-pages + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs