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