Skip to content

Commit

Permalink
ci: fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Apr 6, 2023
1 parent 0b0c0b9 commit bdfa76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
run: pnpm --filter frontend build-storybook
- name: Publish to Chromatic
if: github.ref == 'refs/heads/master'
run: pnpm --filter frontend chromatic --exit-once-uploaded -d packages/frontend/storybook-static
run: pnpm --filter frontend chromatic --exit-once-uploaded -d storybook-static
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Publish to Chromatic
if: github.ref != 'refs/heads/master'
run: pnpm --filter frontend chromatic --exit-once-uploaded -d packages/frontend/storybook-static $(node packages/frontend/.storybook/changes.js $(git diff-tree --no-commit-id --name-only -r HEAD | xargs))
run: pnpm --filter frontend chromatic --exit-once-uploaded -d storybook-static $(node packages/frontend/.storybook/changes.js $(git diff-tree --no-commit-id --name-only -r ${{ github.events.before }} HEAD | xargs))
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Upload Artifacts
Expand Down

0 comments on commit bdfa76d

Please sign in to comment.