aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
blob: a788b18441f2d473250cea11114e1c093e271eaf (plain)
1
2
3
4
5
6
7
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