Skip to content

Commit

Permalink
Don't push Storybook on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Mar 14, 2024
1 parent 1d5d529 commit 8be1780
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ jobs:
- id: deployment
uses: actions/deploy-pages@v4

chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Build Storybook
run: npm run build
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: storybook
exitZeroOnChanges: true
autoAcceptChanges: true
# chromatic:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
# - name: Install dependencies
# run: npm ci
# - name: Build Storybook
# run: npm run build
# - uses: chromaui/action@v1
# with:
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# storybookBuildDir: storybook
# exitZeroOnChanges: true
# autoAcceptChanges: true

0 comments on commit 8be1780

Please sign in to comment.