Skip to content

Commit

Permalink
Set account identity before rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kafkas committed Dec 26, 2023
1 parent 07ea339 commit 0881d62
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
with:
ref: 'docs'

- name: Set account identity
run: |
git config --global user.email "[email protected]"
git config --global user.name "Documentation Bot"
- name: Rebase with main branch
run: |
git fetch
Expand All @@ -42,8 +47,6 @@ jobs:

- name: Commit and Push Changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "Documentation Bot"
git add docs/
git commit -m "Update documentation" || echo "No changes to commit"
git push
Expand Down

0 comments on commit 0881d62

Please sign in to comment.