From 3d622e74edc1347ed8ed2c8fcdc3ddfff8e04ae2 Mon Sep 17 00:00:00 2001 From: Supremist Date: Fri, 17 Apr 2026 16:19:12 +0300 Subject: Simple deploy script --- deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 deploy.sh (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..a788b18 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -euo pipefail + +BRANCH="main" +git --git-dir=/srv/git/netbird.git archive --format=tar $BRANCH | tar -x -C /root/netbird/ +chmod +x /root/netbird/backup.sh +chmod +x /root/netbird/update.sh +chmod +x /root/netbird/deploy.sh \ No newline at end of file -- cgit v1.2.3