Skip to content

Commit

Permalink
Added access key again
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Bernerman committed Sep 3, 2021
1 parent bcce944 commit b4197e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/npm-publish-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
github_token: ${{ secrets.HBG_GH_TOKEN }}
tags: true

- name: Inject access token in .npmrc
run: |
echo "registry=https://npm.pkg.github.com/helsingborg-stad" >> ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.HBG_GH_TOKEN }}" >> ~/.npmrc
- name: NPM Publish.
run: npm publish

Expand All @@ -48,6 +53,9 @@ jobs:
- name: Run build for full release package.
run: php ./build.php --cleanup

- name: Cleanup .npmrc
run: rm ~/.npmrc

- name: Archive full release package
uses: thedoctor0/zip-release@master
with:
Expand Down

0 comments on commit b4197e9

Please sign in to comment.