Skip to content

Commit

Permalink
fix: ci release syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely committed Feb 24, 2020
1 parent 1136963 commit ff5cf66
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: semantic release
#uses: docker://basaltinc/docker-node-php-base:latest
# this will stop early if it's not on `master`, for some reason using `if: github.ref == 'master'` doesn't work
run: npx semantic-release
if: github.ref == master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# with:
# entrypoint: npx
# args: semantic-release

0 comments on commit ff5cf66

Please sign in to comment.