File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " [storybook] @kaspersky/hexa-ui"
2+
3+ on :
4+ push :
5+ branches :
6+ - " master"
7+ paths :
8+ - ' packages/kaspersky-hexa-ui/**'
9+ - ' .github/workflows/kaspersky-hexa-ui-storybook.yml'
10+ workflow_dispatch :
11+
12+ jobs :
13+ deploy :
14+ environment :
15+ name : github-pages
16+ url : ${{ steps.deployment.outputs.page_url }}
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : write
20+ pages : write
21+ id-token : write
22+ defaults :
23+ run :
24+ working-directory : ./packages/kaspersky-hexa-ui
25+ steps :
26+ - name : Checkout
27+ uses : actions/checkout@v3
28+ - name : Install dependencies
29+ shell : bash
30+ run : |
31+ npm ci
32+ - name : Build Storybook
33+ shell : bash
34+ run : |
35+ npm run build-storybook
36+ - name : Deploy to GitHub Pages
37+ uses : peaceiris/actions-gh-pages@v3
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ publish_dir : ./packages/kaspersky-hexa-ui/storybook/hexa-ui
41+ destination_dir : hexa-ui
You can’t perform that action at this time.
0 commit comments