]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - scripts/ci.sh
Use SSH clone
[rbdr/r.bdr.sh] / scripts / ci.sh
CommitLineData
29e93a81
RBR
1#!/usr/bin/env sh
2
3set -xe
4
5if [ "$(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;
10fi
11
12echo "Deploying to Dev"
13export $S3_BUCKET=limited.pizza;
14make upload