Skip to content

Commit

Permalink
attempt fix chromatic env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Mar 15, 2024
1 parent a1874cb commit 8c0eb5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/chromatic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: "Chromatic"

on: push

env:
INFURA_PROJECT_SECRET: ${{ secrets.INFURA_PROJECT_SECRET }}
REACT_APP_MAGIC_API_KEY: ${{ secrets.REACT_APP_MAGIC_API_KEY }}

jobs:
chromatic:
runs-on: ubuntu-latest
Expand All @@ -14,9 +18,6 @@ jobs:
run: npm ci
- id: build
run: npm run build -- --cache-dir=".turbo"
with:
INFURA_PROJECT_SECRET: ${{ secrets.INFURA_PROJECT_SECRET }}
REACT_APP_MAGIC_API_KEY: ${{ secrets.REACT_APP_MAGIC_API_KEY }}
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
Expand Down

0 comments on commit 8c0eb5d

Please sign in to comment.