Skip to content

Commit

Permalink
Merge pull request #506 from PermanentOrg/storybook-supply-secrets
Browse files Browse the repository at this point in the history
Add secrets to env when building storybook
  • Loading branch information
meisekimiu authored Dec 12, 2024
2 parents 64d5c02 + 768bfb1 commit b19e989
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:

- name: Build Storybook
run: npm run build-storybook
env:
GOOGLE_API_KEY: "-"
FIREBASE_API_KEY: "-"
STRIPE_API_KEY: "-"

- name: Archive `storybook-static`
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:

- name: Build Storybook
run: npm run build-storybook
env:
GOOGLE_API_KEY: "-"
FIREBASE_API_KEY: "-"
STRIPE_API_KEY: "-"

- name: Archive `storybook-static`
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:

- name: Build Storybook
run: npm run build-storybook
env:
GOOGLE_API_KEY: "-"
FIREBASE_API_KEY: "-"
STRIPE_API_KEY: "-"

- name: Archive `storybook-static`
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b19e989

Please sign in to comment.