File tree Expand file tree Collapse file tree 3 files changed +51
-3
lines changed Expand file tree Collapse file tree 3 files changed +51
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Component Tests
33on :
44 push :
55 branches :
6- - v3
6+ - master
77 pull_request :
88 workflow_dispatch :
99
Original file line number Diff line number Diff line change 1+ name : Publish GitHub pages
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch : {}
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - uses : actions/setup-node@v4
25+ with :
26+ node-version : 18
27+ cache : npm
28+
29+ - name : Install dependencies
30+ run : npm ci
31+
32+ - name : Build histoire
33+ run : npm run story:build
34+
35+ - name : Upload artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : ./.histoire/dist
39+
40+ deploy :
41+ runs-on : ubuntu-latest
42+ needs : build
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+
47+ steps :
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Continuous tests
22
33on :
44 push :
5- branches :
6- - v3
75 pull_request :
86 workflow_dispatch :
97
You can’t perform that action at this time.
0 commit comments