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: { diff --git a/Makefile b/Makefile index f123d87..215bdab 100644 --- a/Makefile +++ b/Makefile @@ -16,10 +16,10 @@ 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" + rsync --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET" .PHONY: clean clean: