Skip to content

Commit b0cb1ce

Browse files
committed
ci: lame
1 parent 956abde commit b0cb1ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@ jobs:
3333
- name: Move .git to build
3434
run: mv './gh-pages/.git' './build'
3535

36+
- name: Set git config
37+
run: |
38+
git config user.name github-actions
39+
git config user.email [email protected]
40+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
41+
3642
- name: Push to pages
3743
continue-on-error: true
3844
run: |
3945
cd './build'
40-
git config user.name github-actions
41-
git config user.email [email protected]
4246
git add .
4347
git commit -m "Update pages"
4448
git push

0 commit comments

Comments
 (0)