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 275cb96 commit 2f64774Copy full SHA for 2f64774
.github/workflows/deploy-docs.yml
@@ -0,0 +1,28 @@
1
+name: Deploy docs
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: 18
19
20
+ - run: npm ci
21
22
+ - run: npm run build
23
24
+ - name: Deploy storybook
25
+ working-directory: ./packages/docs
26
+ run: npm run deploy-storybook -- --ci --existing-output-dir=storybook-static
27
+ env:
28
+ GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
0 commit comments