From 0cee06c573d81886075d35f1cf9435ac405e4291 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:13:04 +0200 Subject: [PATCH 1/3] fixup! 445b879afafebda5a1c49574ba041d27e272606f --- .drone.jsonnet | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 33f3eb7..f899bfb 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -29,7 +29,6 @@ local Pipeline(isDev) = { { name: "deploy", commands: [ - "nix shell nixpkgs#openssh", "nix develop -c make deploy", ], environment: { From 324c0cc77d7a01e48053bb7ae3f7ac6e5fedb778 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:14:08 +0200 Subject: [PATCH 2/3] fixup! fixup! build: makefile: add deploy step --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f123d87..0016cbe 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ serve: deploy: @if [ -n "$$SSH_KEY" ]; then eval "$$(ssh-agent)"; echo "$$SSH_KEY" | ssh-add -; fi @if [ -z "$$SSH_USER" ] || [ -z "$$SSH_HOST" ] || [ -z "$$SSH_TARGET" ]; \ - then echo "Missing one of SSH_USER, SSH_HOST, or TARGET" >&2; \ + then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \ exit 1; \ fi rsync --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$TARGET" From 70a023df7a7534b50742a1b83f95d2d3d99fe1bb Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:14:08 +0200 Subject: [PATCH 3/3] fixup! fixup! build: makefile: add deploy step --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0016cbe..215bdab 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ deploy: then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \ exit 1; \ fi - rsync --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$TARGET" + rsync --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET" .PHONY: clean clean: