File tree Expand file tree Collapse file tree 2 files changed +6
-19
lines changed Expand file tree Collapse file tree 2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Deploy Storybook to Pages
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - storybook
5
7
tags :
6
8
- ' v[0-9]+.[0-9]+.[0-9]+'
7
9
27
29
28
30
- name : Replace local links with actual versions
29
31
run : |
30
- sed -i 's#"@acrool/react-skeleton ": "link:.."#"@acrool/react-toaster": "latest"#' package.json
31
- sed -i 's#"react": "link:../node_modules/react"#"react": "^18.2 .0"#' package.json
32
- sed -i 's#"react-dom": "link:../node_modules/react-dom"#"react-dom": "^18.2 .0"#' package.json
32
+ sed -i 's#"@acrool/react-toaster ": "link:.."#"@acrool/react-toaster": "latest"#' package.json
33
+ sed -i 's#"react": "link:../node_modules/react"#"react": "^18.0 .0"#' package.json
34
+ sed -i 's#"react-dom": "link:../node_modules/react-dom"#"react-dom": "^18.0 .0"#' package.json
33
35
34
36
- name : Install dependencies
35
37
run : yarn install
41
43
run : yarn global add wrangler
42
44
43
45
- name : Deploy to Cloudflare Pages
44
- run : wrangler pages deploy ./storybook-static --project-name=acrool-react-modal --branch main
46
+ run : wrangler pages deploy ./storybook-static --project-name=acrool-react-img --branch main
45
47
env :
46
48
CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments