Skip to content

Commit f9186de

Browse files
committed
fix: pipeline
1 parent c7d56d0 commit f9186de

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
7-
branches:
8-
- main
96
jobs:
107
build-and-test:
118
runs-on: ubuntu-latest
@@ -35,12 +32,6 @@ jobs:
3532
run: |
3633
git config user.email "[email protected]"
3734
git config user.name "Docs Bot"
38-
git pull ${{ github.head_ref }}
3935
git add --force -- docs/README.md
4036
git commit -m "docs: add generated docs"
41-
- name: Push to git branch for PR
42-
if: ${{ github.head_ref != '' }}
43-
run: git push origin HEAD:${{ github.head_ref }}
44-
- name: Push to git branch for branch
45-
if: ${{ github.head_ref == '' }}
46-
run: git push
37+
git push

0 commit comments

Comments
 (0)