Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Sep 29, 2021
1 parent c29f7d0 commit f001a72
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/chromatic-workflow_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@ name: "Chromatic (workflow_run)"
on:
workflow_run:
workflows:
- "Chromatic (manual)"
- "Action"
types:
- completed

jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- uses: actions/checkout@v1
- name: install
run: yarn && git status --porcelain
- name: prep package
run: ./scripts/rename.js storybook-chromatic
- name: run chromatic
run: yarn chromatic
env:
CHROMATIC_PROJECT_TOKEN: gcaw1ai2dgo
- run: yarn
- uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: gcaw1ai2dgo
exitZeroOnChanges: true
exitOnceUploaded: true

0 comments on commit f001a72

Please sign in to comment.