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 c7d56d0 commit f9186de
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,12 +32,6 @@ jobs:
run: |
git config user.email "[email protected]"
git config user.name "Docs Bot"
git pull ${{ github.head_ref }}
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: git push origin HEAD:${{ github.head_ref }}
- name: Push to git branch for branch
if: ${{ github.head_ref == '' }}
run: git push
git push

0 comments on commit f9186de

Please sign in to comment.