We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f72e8da + 3be1532 commit a7a1d80Copy full SHA for a7a1d80
.github/workflows/deploy-docs.yml
@@ -0,0 +1,24 @@
1
+name: Build and deploy docs to GitHub Pages
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+jobs:
7
+ build-and-deploy:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Check out repository code
11
+ uses: actions/checkout@v2
12
+ - name: (Package) Install dependencies and build
13
+ run: yarn
14
+ - name: (Example) Install dependencies
15
+ working-directory: ./example
16
17
+ - name: (Example) Build docs
18
19
+ run: yarn build-storybook
20
+ - name: Deploy
21
+ uses: peaceiris/actions-gh-pages@v3
22
+ with:
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: ./example/storybook-static
example/.gitignore
@@ -0,0 +1 @@
+storybook-static
0 commit comments