Skip to content

Commit

Permalink
fix: ci git push
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Oct 19, 2021
1 parent 3760687 commit 571b1d5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ jobs:
git config user.name "Docs Bot"
git add --force -- docs/README.md
git commit -m "docs: add generated docs"
git push
- name: Push to git branch for PR
if: ${{ github.head_ref != '' }}
run: git push origin HEAD:${{ github.head_ref }}
- name: Push to git branch for branch
if: ${{ github.head_ref == '' }}
run: git push

0 comments on commit 571b1d5

Please sign in to comment.