From dadaecf7dabce5eda9cfcfca91ce68b933d01b51 Mon Sep 17 00:00:00 2001 From: SchettlerKoehler <62466958+SchettlerKoehler@users.noreply.github.com> Date: Tue, 6 Aug 2024 08:07:14 +0200 Subject: [PATCH] Update storybook.yml --- .github/workflows/storybook.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index ea7cfc1a..645257f4 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -21,6 +21,7 @@ jobs: run: npx nx run portal-integration-angular:build-storybook - name: Publish to PIA Chromatic uses: chromaui/action@latest + if: ${{ (env.PIA_TOKEN != null) && (env.PIA_TOKEN != '') }} with: projectToken: ${{ env.PIA_TOKEN }} storybookBuildDir: dist/storybook/portal-integration-angular @@ -29,6 +30,7 @@ jobs: run: npx nx run angular-accelerator:build-storybook - name: Publish to AA Chromatic uses: chromaui/action@latest + if: ${{ (env.AA_TOKEN != null) && (env.AA_TOKEN != '') }} with: projectToken: ${{ env.AA_TOKEN }} storybookBuildDir: dist/storybook/angular-accelerator