File tree Expand file tree Collapse file tree 4 files changed +22
-18
lines changed
projects/angular-keyboard Expand file tree Collapse file tree 4 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 11# Taskbase Angular Libraries
22
3- Some Angular libraries used at Taskbase. See demos at https://taskbase-angular-libraries.firebaseapp.com
3+ Some Angular libraries used at Taskbase. See demos at https://angular-libraries-demo.taskbase.com
4+
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ if [ " ${1} " == " dev" ]; then
6+ echo " there is no dev"
7+ elif [ " ${1} " == " prod" ]; then
8+ echo " deploying to prod"
9+ CLOUDFRONT_DISTRIBUTION_ID=" EG01URWC7FNFD"
10+ CLOUDFRONT_S3_BUCKET=" s3://cf-tb-taskbase-angular-libraries/"
11+ else
12+ echo " Expected prod as argument"
13+ exit 0
14+ fi
15+
16+ aws s3 cp ./dist/angular-libraries-demo/ $CLOUDFRONT_S3_BUCKET --recursive # use trailing slash to copy contents of directory!
17+ aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths " /*"
18+ echo " Done!"
19+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " @taskbase/angular-keyboard" ,
3- "version" : " 0.0.4 " ,
3+ "version" : " 0.0.5 " ,
44 "peerDependencies" : {
55 "@angular/common" : " ^8.1.3" ,
66 "@angular/core" : " ^8.1.3"
You can’t perform that action at this time.
0 commit comments