Skip to content

Commit 7810e6d

Browse files
committed
ci: should prefix branch with refs/heads/
1 parent 3d8e0ad commit 7810e6d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,8 @@ jobs:
5151
CI: 'true'
5252
CC_SECRET: ${{ secrets.CC_SECRET }}
5353

54-
- name: Dump GitHub Context
55-
env:
56-
GITHUB_CONTEXT: ${{ toJson(github) }}
57-
run: echo "$GITHUB_CONTEXT"
58-
5954
- name: Publish GitHub Release and npm Package
60-
if: matrix.os == 'macOS-latest' && github.event_name == 'push' && github.ref == 'master'
55+
if: matrix.os == 'macOS-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master'
6156
run: bash scripts/deploy.sh
6257
env:
6358
CI: 'true'

0 commit comments

Comments
 (0)