Skip to content

Commit

Permalink
Merge pull request #12 from shopware/next-33446/fix-deployement-pipeline
Browse files Browse the repository at this point in the history
NEXT-33446 - fix meteor component library deployment pipeline
  • Loading branch information
Haberkamp authored Feb 12, 2024
2 parents a6af410 + 536de8c commit 0e6b2fb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

jobs:
create_storybook_pages:
create-storybook-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
Expand All @@ -21,17 +21,15 @@ jobs:
with:
node-version: '20'

- name: Install main dependencies
run: pnpm ci
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline

- name: Create the static pages directory locally in CI
run: pnpm --prefix ./packages/component-library run build-storybook

- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
force: false
branch: gh-pages
folder: storybook-static
folder: packages/component-library/storybook-static
clean-exclude: pr-preview/

0 comments on commit 0e6b2fb

Please sign in to comment.