Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(Storybook): always build documentation #214

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
permissions:
id-token: write
pages: write
if: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/diracx-web' && github.ref_name == 'main'}}
if: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/diracx-web' }}
aldbr marked this conversation as resolved.
Show resolved Hide resolved
steps:
- uses: actions/checkout@v4

Expand All @@ -68,10 +68,15 @@ jobs:
cache: 'npm'

- uses: bitovi/[email protected]
if: ${{ github.ref_name == 'main' }}
with:
build_command: npm run build-storybook -w @dirac-grid/diracx-web-components
path: packages/diracx-web-components/storybook-static
checkout: false

- name: Build documentation
if: ${{ github.ref_name != 'main' }}
run: npm ci && npm run build-storybook -w @dirac-grid/diracx-web-components

build-deploy-dev-image:
runs-on: ubuntu-latest
Expand Down