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