diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 5a5b676..9c3d134 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -2,8 +2,8 @@ name: Publish Package on: push: - branches: - - master + branches-ignore: + - '!master' tags: - v* @@ -64,20 +64,4 @@ jobs: HUSKY_SKIP_INSTALL: true - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - publish-github: - needs: publish-npm - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - run: echo ${{ github.sha }} > RELEASE.txt - - run: cat RELEASE.txt - - uses: softprops/action-gh-release@v1 - with: - files: RELEASE.txt - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file