We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b9718 commit a30f66fCopy full SHA for a30f66f
.github/workflows/storybook.yml
@@ -1,5 +1,7 @@
1
name: Build and Deploy
2
-on: [push]
+on:
3
+ push:
4
+ branches: [ main ]
5
jobs:
6
build-and-deploy:
7
runs-on: ubuntu-latest
@@ -11,7 +13,8 @@ jobs:
11
13
- name: Install and Build 🔧
12
14
run: |
15
npm install
- npm run generate
16
+ npm run fetch
17
+ npm run icon
18
npm run storybook
19
npm run build-storybook
20
- name: Deploy 🚀
@@ -21,4 +24,4 @@ jobs:
21
24
BRANCH: main # The branch the action should deploy to.
22
25
FOLDER: docs-build # The folder that the build-storybook script generates files.
23
26
CLEAN: true # Automatically remove deleted files from the deploy branch
- TARGET_FOLDER: docs # The folder that we serve our Storybook files from
27
+ TARGET_FOLDER: docs # The folder that we serve our Storybook files from
0 commit comments