Skip to content

Commit

Permalink
feat: ci storybook build adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Mar 18, 2024
1 parent 5d5d50c commit d662aef
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy Storybook
on: push
jobs:
deploy-storybook:
deploy-storybooks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -10,11 +10,19 @@ jobs:
fetch-depth: 0
- name: Install dependencies
run: npm ci
- name: Build Storybook
- name: Build PIA Storybook
run: npx nx run portal-integration-angular:build-storybook
- name: Publish to Chromatic
- name: Publish to PIA Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_PIA }}
storybookBuildDir: dist/storybook/portal-integration-angular
skip: "dependabot/**"
skip: 'dependabot/**'
- name: Build AA Storybook
run: npx nx run angular-accelerator:build-storybook
- name: Publish to AA Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_AA }}
storybookBuildDir: dist/storybook/angular-accelerator
skip: 'dependabot/**'

0 comments on commit d662aef

Please sign in to comment.