aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/setup.sh')
-rwxr-xr-xscripts/ci/setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh
index 63e3657..dbbf32a 100755
--- a/scripts/ci/setup.sh
+++ b/scripts/ci/setup.sh
@@ -18,7 +18,7 @@ popd
echo "Done."
# git smudge after git-crypt clears file permissions
-chmod 600 ./secrets/ssh/vps-box-client
+chmod 400 ./secrets/ssh/vps-box-client
cat .envrc >> ~/.buildenv
source .envrc
@@ -32,3 +32,5 @@ envsubst < ./ssh.env.conf >> ~/.ssh/config
envsubst < ./hosts.env > ./hosts
envsubst < ./docker-compose.env.yaml > ./docker-compose.yaml
envsubst < ./user-data.env.sh > ./user-data.sh
+envsubst < ./scripts/box/create-backup.env.sh > ./scripts/box/create-backup.sh
+envsubst < ./scripts/box/restore-backup.env.sh > ./scripts/box/restore-backup.sh