Skip to content

Commit a97b70a

Browse files
committed
adding generic top level deploy task to website typescript deploys
1 parent 004098a commit a97b70a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

s3-angular-website/typescript/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"buildwebsite": "cd website && npm i && npm run build && cd ../",
77
"buildcdk": "cd cdk && npm i && npm run build && cd ../",
8-
"build": "npm run buildwebsite && npm run buildcdk"
8+
"build": "npm run buildwebsite && npm run buildcdk",
9+
"deploy": "npm run build && cd cdk && npm run deploy"
910
},
1011
"author": "",
1112
"license": "ISC"

s3-react-website/typescript/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"buildwebsite": "cd website && npm i && npm run build && cd ../",
77
"buildcdk": "cd cdk && npm i && npm run build && cd ../",
8-
"build": "npm run buildwebsite && npm run buildcdk"
8+
"build": "npm run buildwebsite && npm run buildcdk",
9+
"deploy": "npm run build && cd cdk && npm run deploy"
910
},
1011
"author": "",
1112
"license": "ISC"

0 commit comments

Comments
 (0)