From fa4da9546d321b7837469cfd006ee45c57c3ae29 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 25 May 2022 17:53:12 -0700 Subject: ref(blog): drop the flake configuration There's no need to have multiple `flake.nix` in the repository. Make the blog part of the flake configuration at the root level of the repository, delete the one in the blog, and update the documentation. --- users/fcuny/blog/scripts/deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/fcuny/blog/scripts') diff --git a/users/fcuny/blog/scripts/deploy.sh b/users/fcuny/blog/scripts/deploy.sh index 69ad82a..4199766 100755 --- a/users/fcuny/blog/scripts/deploy.sh +++ b/users/fcuny/blog/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/blog + flyctl deploy VERSION=$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"') -- cgit 1.4.1