We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d56d0 commit f9186deCopy full SHA for f9186de
.github/workflows/node.js.yml
@@ -3,9 +3,6 @@ on:
3
push:
4
branches:
5
- main
6
- pull_request:
7
- branches:
8
- - main
9
jobs:
10
build-and-test:
11
runs-on: ubuntu-latest
@@ -35,12 +32,6 @@ jobs:
35
32
run: |
36
33
git config user.email "[email protected]"
37
34
git config user.name "Docs Bot"
38
- git pull ${{ github.head_ref }}
39
git add --force -- docs/README.md
40
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
+ git push
0 commit comments