Skip to content

Commit 9c2dfca

Browse files
authored
Update update-docs.yml
1 parent 5581c3f commit 9c2dfca

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/update-docs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ jobs:
3737
3838
- name: Commit and push changes
3939
run: |
40-
git config --global user.name 'github-actions[bot]'
41-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
40+
git config --global user.name "github-actions[bot]"
41+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4242
git add docs
4343
git commit -m "[Doc] Regenerate" || echo "No changes to commit"
44-
git push
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- name: Push changes
46+
uses: ad-m/github-push-action@master
47+
with:
48+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)