Skip to content

Commit

Permalink
ci: publish package on npm via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-bak committed Nov 17, 2023
1 parent 11bf152 commit 13ffc9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ jobs:
run: aws s3 sync ./storybook-static s3://${{ secrets.S3_BUCKET }} --delete
- name: Invalidate Cloudfront
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/*"
- name: Publish package on NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 13ffc9c

Please sign in to comment.