website deploy scripts

This commit is contained in:
Suresh 2019-10-26 20:46:27 +05:30
parent 6157a5e25b
commit 92f82eba14
2 changed files with 6 additions and 0 deletions

3
website/deploy-dev Executable file
View file

@ -0,0 +1,3 @@
npm run build
aws s3 sync ./dist s3://dev.responsively.app --delete --acl public-read
aws cloudfront create-invalidation --distribution-id E1H2GQ4VMDZLXT --paths "/*"

3
website/deploy-prod Executable file
View file

@ -0,0 +1,3 @@
npm run build
aws s3 sync ./dist s3://responsively.app --delete --acl public-read
aws cloudfront create-invalidation --distribution-id E30WYS4T1RMPPE --paths "/*"