diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d958f605f..c703820e9 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -37,13 +37,11 @@ jobs: git diff - name: push - uses: github-actions-x/commit@v2.9 - with: - github-token: ${{ secrets.DOCS_DEPLOY_TOKEN }} - push-branch: 'docs' - commit-message: 'Regenerate Documentation Website' - force-add: 'true' - force-push: 'true' - files: docs/ - name: GitHub Action - email: github.bot@cpanel.net + run: | + git config --global user.name 'GitHub Action' + git config --global user.email 'github.bot@cpanel.net' + git add docs/ + git commit -m "Regenerate Documentation Website" + git remote -v + git branch -a + git push --force https://${{ secrets.DOCS_DEPLOY_TOKEN }}@github.com/cpanel/elevate main:docs