Skip to content

Commit

Permalink
Merge pull request #99 from GordonSmith/TAG_RELEASE_FAILS
Browse files Browse the repository at this point in the history
fix(publish): Auto releasing fails in GH Action
  • Loading branch information
GordonSmith authored Apr 4, 2022
2 parents 68e2e7c + 6af6f60 commit dbdde6a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/npmPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish Package
on:
push:
tags:
- "*"
- "v*"

jobs:
build:
Expand Down Expand Up @@ -31,7 +31,8 @@ jobs:
CI: true
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm run purge-jsdelivr
- name: Create a Release
uses: elgohr/Github-Release-Action@master
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false

0 comments on commit dbdde6a

Please sign in to comment.