Skip to content

Commit

Permalink
fix: pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Oct 19, 2021
1 parent 5edeae1 commit d46d175
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ jobs:
run: |
git config user.email "janek@argent.xyz"
git config user.name "Docs Bot"
git pull
git add --force -- docs/README.md
git commit -m "docs: add generated docs"
- name: Push to git branch for PR
if: ${{ github.head_ref != '' }}
run: |
echo ${{ github.head_ref }}
git push origin ${{ 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 d46d175

Please sign in to comment.