]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - scripts/ci.sh
Add build script
[rbdr/r.bdr.sh] / scripts / ci.sh
1 #!/usr/bin/env sh
2
3 set -xe
4
5 if [ "$(git rev-parse origin/main)" == "$(git rev-parse HEAD)" ]; then \
6 echo "Deploying to Production"
7 export $S3_BUCKET=unlimited.pizza;
8 make environment=production upload
9 exit 0;
10 fi
11
12 echo "Deploying to Dev"
13 export $S3_BUCKET=limited.pizza;
14 make upload