File tree 2 files changed +7
-17
lines changed
2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 28
28
uses : rossjrw/pr-preview-action@v1
29
29
with :
30
30
source-dir : ./storybook-static/
31
- preview-branch : github -pages
31
+ preview-branch : gh -pages
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ concurrency:
23
23
24
24
jobs :
25
25
# Build job
26
- build :
26
+ deploy :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- name : Checkout
34
34
run : |
35
35
npm install
36
36
npm run build-storybook
37
- - name : Upload artifact
38
- uses : actions/upload-pages-artifact@v3
37
+ - uses : JamesIves/github-pages-deploy-action@v4
39
38
with :
40
- path : storybook-static/
41
-
42
- # Deployment job
43
- deploy :
44
- environment :
45
- name : github-pages
46
- url : ${{ steps.deployment.outputs.page_url }}
47
- runs-on : ubuntu-latest
48
- needs : build
49
- steps :
50
- - name : Deploy to GitHub Pages
51
- id : deployment
52
- uses : actions/deploy-pages@v4
39
+ folder : ./storybook-static/
40
+ branch : gh-pages
41
+ clean-exclude : pr-preview
42
+ force : false
You can’t perform that action at this time.
0 commit comments