From 7eb044672595946e0b360ff57128dad50892a2ee Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 31 Mar 2024 16:05:15 +0300 Subject: Remove .html suffix from archive links, add deploy.sh --- deploy.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 deploy.sh (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..2f6a403 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -euxo pipefail + +IMAGE=registry.jan.systems/jan-systems-2024:latest + +# Build +docker build --platform linux/amd64 -t "$IMAGE" . +docker push "$IMAGE" + +# Deploy +ssh jan.systems 'cd deployments/garden && bash dc-restart.sh' + -- cgit v1.3