Skip to content
Snippets Groups Projects
Unverified Commit 5bb44a6e authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Chromatic in CI: only publish if the token is available (#19600)

parent 3289da97
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,9 @@ jobs:
- run: yarn install --frozen-lockfile --prefer-offline
- name: Publish to Chromatic
uses: chromaui/action@v1
env:
PUBLISH_CHROMATIC: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
if: env.PUBLISH_CHROMATIC != null
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment