Skip to content

Commit

Permalink
fix: netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
yann510 committed Sep 12, 2023
1 parent be9b7b7 commit c25ca03
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@ jobs:
if: github.ref == 'refs/heads/master'
run: npm run benchmark

- name: Release + Deploy
- name: Release + Publish package
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: npm run semantic-release:all

- name: Deploy to netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=dist/apps/web-app --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit c25ca03

Please sign in to comment.