Skip to content

Commit e95dd6b

Browse files
committed
fix: typo
1 parent 40eceb3 commit e95dd6b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploypages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,16 @@ jobs:
5757
git config user.email "github-actions[bot]@users.noreply.github.com"
5858
git add docs/
5959
git commit -m "Update pulled docs" || echo "No changes"
60-
git push
60+
61+
# ---- Auth for push ----
62+
git remote set-url origin \
63+
https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
64+
65+
git push origin HEAD:main
6166
env:
6267
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6368

69+
6470
# --------------------------------------------------------- #
6571
# 3. Build site + Tina, publish to gh-pages
6672
# --------------------------------------------------------- #

0 commit comments

Comments
 (0)