aboutsummaryrefslogtreecommitdiff
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-01 13:38:03 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-01 13:38:03 -0700
commit267523d8fbffbedf56b186cc00de55eee8fe30be (patch)
tree1dedd8abcd21de09c475f07f8d11b38dc6ccf88d /scripts/deploy.sh
parentcontent: remove some notes (diff)
downloadfcuny.net-267523d8fbffbedf56b186cc00de55eee8fe30be.tar.gz
scripts: actually deploy to fly
Diffstat (limited to 'scripts/deploy.sh')
-rwxr-xr-xscripts/deploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 82919c6..ede848c 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -3,6 +3,8 @@
git diff --exit-code
git diff --staged --exit-code
+flyctl deploy
+
VERSION=$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"')
git tag -a --message ${VERSION} ${VERSION}