Skip to content

Commit 56d4810

Browse files
committed
ci(travis): deploy storybook to s3
1 parent 9ec3408 commit 56d4810

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ lib-cov
44
*.csv
55
*.dat
66
*.out
7+
out*
78
*.pid
89
*.gz
910

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ script:
1414
after_success:
1515
- bash <(curl -s https://codecov.io/bash)
1616
- semantic-release
17-
- yarn deploy-storybook --out=demo
17+
# Deploy storybook demo to S3: https://s3.amazonaws.com/transitive.js/index.html
18+
- yarn deploy-storybook
1819
branches:
1920
except:
2021
- /^v\d+\.\d+\.\d+$/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lint": "mastarm lint lib",
3333
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
3434
"start": "start-storybook -p 5555",
35-
"deploy-storybook": "storybook-to-ghpages"
35+
"deploy-storybook": "storybook-to-aws-s3 --bucket-path=transitive.js --s3-sync-options=--acl=public-read"
3636
},
3737
"devDependencies": {
3838
"@babel/core": "^7.12.3",

0 commit comments

Comments
 (0)