From ce459d95f893420b6b6968488bfc7a673ccb86f2 Mon Sep 17 00:00:00 2001 From: garronej Date: Fri, 17 Mar 2023 14:45:51 +0100 Subject: [PATCH] Attempt at fixing storybook deploy --- .github/workflows/ci.yaml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 470de62..614084a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,20 +34,6 @@ jobs: name: build path: build - deploy_storybook: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2.1.3 - with: - node-version: '16' - - uses: bahmutov/npm-install@v1 - - run: yarn build-storybook -o ./build_storybook - - run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: npx -y -p gh-pages@3.1.0 gh-pages -d ./build_storybook --dest storybook --add -u "github-actions-bot " - check_if_version_upgraded: name: Check if version upgrade runs-on: ubuntu-latest @@ -87,7 +73,8 @@ jobs: - run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: npx -y -p gh-pages@3.1.0 gh-pages -d build -u "github-actions-bot " + - run: npx -y -p gh-pages@3.1.0 gh-pages -u "github-actions-bot " -d build + - run: npx -y -p gh-pages@3.1.0 gh-pages -u "github-actions-bot " -d build_storybook --dest storybook --add docker: needs: