]>
Commit | Line | Data |
---|---|---|
29e93a81 RBR |
1 | #!/usr/bin/env sh |
2 | ||
3 | set -xe | |
4 | ||
c0e61f03 | 5 | |
9a0c6654 RBR |
6 | touch .env |
7 | ||
29e93a81 RBR |
8 | if [ "$(git rev-parse origin/main)" == "$(git rev-parse HEAD)" ]; then \ |
9 | echo "Deploying to Production" | |
9a0c6654 | 10 | export S3_BUCKET=unlimited.pizza; |
be0c7379 | 11 | sudo make environment=production upload |
29e93a81 RBR |
12 | exit 0; |
13 | fi | |
14 | ||
15 | echo "Deploying to Dev" | |
9a0c6654 | 16 | export S3_BUCKET=limited.pizza; |
be0c7379 | 17 | sudo make upload |