diff options
Diffstat (limited to 'users/fcuny/notes/scripts')
-rwxr-xr-x | users/fcuny/notes/scripts/deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/fcuny/notes/scripts/deploy.sh b/users/fcuny/notes/scripts/deploy.sh index 4075f08..4c6851c 100755 --- a/users/fcuny/notes/scripts/deploy.sh +++ b/users/fcuny/notes/scripts/deploy.sh @@ -1,8 +1,14 @@ #!/usr/bin/env bash +set -ueo pipefail + +cd $(git rev-parse --show-toplevel) + git diff --exit-code git diff --staged --exit-code +cd users/fcuny/notes + flyctl deploy VERSION=$(flyctl info -j |jq -r '.App | "notes.fcuny.net/v\(.Version)"') |