Skip to content

Commit

Permalink
chore: add environment to github pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehenson committed Feb 26, 2025
1 parent 4fc0ee6 commit 20d15ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
deploy-storybook:
name: Deploy Storybook to GH Pages
runs-on: ubuntu-latest
environment:
name: github-pages
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
if: ${{ github.event.label.name == 'review' }}
name: Deploy Storybook to GH Pages
runs-on: ubuntu-latest
environment:
name: github-pages
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
Expand Down

0 comments on commit 20d15ee

Please sign in to comment.