File tree 3 files changed +39
-0
lines changed
3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Ignore everything but storybook-static/
2
+ *
3
+ !storybook-static/**
Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+
3
+ phases :
4
+ install :
5
+ runtime-versions :
6
+ nodejs : 12
7
+ build :
8
+ commands :
9
+ - yarn install
10
+ - yarn run build-storybook
11
+ - export APP_PATH=$(cat up.json | jq -r '.static.prefix')
12
+ - curl -sf https://up.apex.sh/install | sh
13
+ - git init # fix git information retrieval error
14
+ - up deploy ${APP_ENV} --no-build
15
+ - aws cloudfront create-invalidation --distribution-id ${DISTRIBUTION_ID} --paths /${APP_PATH}*
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " atlas-component-library" ,
3
+ "regions" : [
4
+ " us-east-1"
5
+ ],
6
+ "lambda" : {
7
+ "memory" : 128 ,
8
+ "runtime" : " nodejs14.x"
9
+ },
10
+ "type" : " static" ,
11
+ "static" : {
12
+ "dir" : " storybook-static" ,
13
+ "prefix" : " design-system"
14
+ },
15
+ "redirects" : {
16
+ "/*" : {
17
+ "location" : " /" ,
18
+ "status" : 200
19
+ }
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments