diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 097bf7f..b132b29 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -50,11 +50,11 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m 'deploy' - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + - name: Force push to destination branch + uses: ad-m/github-push-action@v0.5.0 with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + force: true + directory: ./docs/build/html +