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