From fe2a1a75c69e1e19e493eed0885dfa416b7df559 Mon Sep 17 00:00:00 2001 From: Artem Bogomolov Date: Sat, 5 Aug 2023 17:47:18 +0300 Subject: [PATCH] Update and rename jest.yml to ci-cd.yml --- .github/workflows/{jest.yml => ci-cd.yml} | 11 +++++++++++ 1 file changed, 11 insertions(+) rename .github/workflows/{jest.yml => ci-cd.yml} (74%) diff --git a/.github/workflows/jest.yml b/.github/workflows/ci-cd.yml similarity index 74% rename from .github/workflows/jest.yml rename to .github/workflows/ci-cd.yml index 94b1363..178d344 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/ci-cd.yml @@ -31,3 +31,14 @@ jobs: # Finally, run our tests - name: Run the tests run: npm run test:unit + deploy: + environment: + name: github-pages + url: ${{ steps.build-publish.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - id: build-publish + uses: bitovi/github-actions-storybook-to-github-pages@v1.0.0 + with: + path: dist/storybook + build_command: npm run build-storybook