Skip to content

Commit

Permalink
fix: ci of chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Apr 12, 2023
1 parent cf697de commit 960b55e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/visual-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:

- name: Publish PR to DS Chromatic
if: github.ref != 'refs/heads/master'
uses: chromaui/action@641759d315cf9db33a150a70cb904b7853049ca6 #v6.17.2
# https://github.com/chromaui/chromatic-cli/issues/739
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand All @@ -88,7 +89,8 @@ jobs:

- name: Publish Master to DS Chromatic
if: github.ref == 'refs/heads/master'
uses: chromaui/action@641759d315cf9db33a150a70cb904b7853049ca6 #v6.17.2
# https://github.com/chromaui/chromatic-cli/issues/739
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand Down

0 comments on commit 960b55e

Please sign in to comment.