diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 72396d1..3affc15 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -80,5 +80,5 @@ jobs: git commit -m "Deploy to GitHub Pages" # Force push to gh-pages branch - git push --force origin gh-pages + git push --force "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" gh-pages