diff --git a/Makefile b/Makefile index 4949ae4..f85393b 100644 --- a/Makefile +++ b/Makefile @@ -32,12 +32,7 @@ container-build: volkerraschek/build-image:1.0.0 \ make build UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH} -hades: +remote: $(MAKE) build GOARCH=arm - scp flucky hades.hellenthal.cryptic.systems:/usr/local/bin - ssh hades.hellenthal.cryptic.systems "chmod +x /usr/local/bin/flucky" - -poseidon: - $(MAKE) build GOARCH=arm - scp flucky poseidon.trier.cryptic.systems:/usr/local/bin - ssh poseidon.trier.cryptic.systems "chmod +x /usr/local/bin/flucky" \ No newline at end of file + scp flucky ${FLUCKY_REMOTE}:/usr/local/bin + ssh ${FLUCKY_REMOTE} "chmod +x /usr/local/bin/flucky" \ No newline at end of file