]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - scripts/ci.sh
5dcfaf3e6ad13ba6d647ccc73f5834a7d3976203
[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