about summary refs log tree commit diff
path: root/users/fcuny/blog/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/blog/scripts')
-rwxr-xr-xusers/fcuny/blog/scripts/deploy.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/users/fcuny/blog/scripts/deploy.sh b/users/fcuny/blog/scripts/deploy.sh
index 4199766..eef6771 100755
--- a/users/fcuny/blog/scripts/deploy.sh
+++ b/users/fcuny/blog/scripts/deploy.sh
@@ -2,7 +2,7 @@
 
 set -ueo pipefail
 
-cd $(git rev-parse --show-toplevel)
+cd "$(git rev-parse --show-toplevel)"
 
 git diff --exit-code
 git diff --staged --exit-code
@@ -11,10 +11,4 @@ cd users/fcuny/blog
 
 flyctl deploy
 
-VERSION=$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"')
-
-git tag -a --message ${VERSION} ${VERSION}
-git push origin --all
-git push origin --tags
-
-flyctl agent stop
+[[ "${CI}" ]] && flyctl agent stop