From c54e3a336fe460db3b4ec156beac452850838555 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 25 May 2022 19:19:24 -0700 Subject: ref(notes): drop flake.nix There's no need to have a flake.nix for the notes, we can use the same mechanism as for the blog and resume. Add a README so I remember how to use this in the future. --- users/fcuny/notes/scripts/deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/fcuny/notes/scripts/deploy.sh') 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)"') -- cgit v1.2.3