From 536de8ced74c3013bd8f35d892f1ebff3d1b6df7 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Mon, 12 Feb 2024 12:00:41 +0100 Subject: [PATCH] NEXT-33446 - fix meteor component library deployment pipeline --- .github/workflows/deployment.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index cfe96249b..92ffdb38c 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -6,7 +6,7 @@ on: - main jobs: - create_storybook_pages: + create-storybook-pages: runs-on: ubuntu-latest steps: - name: Checkout the repository @@ -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/github-pages-deploy-action@4.1.4 with: - force: false branch: gh-pages - folder: storybook-static + folder: packages/component-library/storybook-static clean-exclude: pr-preview/