From b8031f656c9cfcd043a79d5562489ac550352c2a Mon Sep 17 00:00:00 2001 From: AntoXa PRO Date: Wed, 11 Oct 2023 11:07:11 +0300 Subject: [PATCH] test deploy storybook --- .github/workflows/storybook.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/storybook.yml diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml new file mode 100644 index 0000000..d9662c4 --- /dev/null +++ b/.github/workflows/storybook.yml @@ -0,0 +1,23 @@ +name: Storybook +on: + push: + branches: + - master # if any push happens on branch `main`, run this workflow. You could also add `paths` to detect changes in specific folder + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + + - name: Install and Build + run: | + npm ci + npm run build-storybook + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@3.6.2 + with: + branch: gh-pages + folder: storybook-static # output folder from `npm run build-storybook`