Skip to content

Commit

Permalink
Update release.yml to cleanup and publish to GitHub Packages
Browse files Browse the repository at this point in the history
The release.yml file has been updated to include a new step for cleanup and removal of the .npmrc file. Additionally, the existing step for publishing to GitHub Packages has been modified to include authentication using the GitHub token.
  • Loading branch information
realashleybailey committed Oct 30, 2023
1 parent d269975 commit a697570
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
run: |
sed -i 's/"name": ".*"/"name": "@wizarrrr\/wizarr-vue-modal"/' package.json
- name: Cleanup
run: rm .npmrc

- name: Publish to GitHub Packages
run: |
echo "//npm.pkg.github.com/:__authToken={{ secrets.GITHUB_TOKEN }}" > .npmrc
Expand Down

0 comments on commit a697570

Please sign in to comment.