Skip to content

Commit

Permalink
fix(ci): 🐛 👷 disable publish to github package
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Oct 27, 2020
1 parent d769707 commit b37dbe6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:
@semantic-release/git
@semantic-release/changelog
- name: Publish To GitHub Package Registry
if: steps.semantic.outputs.new_release_published == 'true'
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com
scope: bubkoo
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Publish To GitHub Package Registry
# if: steps.semantic.outputs.new_release_published == 'true'
# uses: actions/setup-node@v1
# with:
# node-version: 12
# registry-url: https://npm.pkg.github.com/
# scope: bubkoo
# env:
# NODE_AUTH_TOKEN: ${{ steps.generate_token.outputs.token }}

- name: Publish To GitHub Package Registry
if: steps.semantic.outputs.new_release_published == 'true'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Publish To GitHub Package Registry
# if: steps.semantic.outputs.new_release_published == 'true'
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ steps.generate_token.outputs.token }}

0 comments on commit b37dbe6

Please sign in to comment.