aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci')
-rwxr-xr-xscripts/ci/deploy.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh
index 52971d2..8092c27 100755
--- a/scripts/ci/deploy.sh
+++ b/scripts/ci/deploy.sh
@@ -18,6 +18,13 @@ mail_debug_log() {
git push origin master
popd
echo "Done."
+
+ echo "Locking git-crypt repositories back..."
+ git crypt lock
+ pushd ../vps-state/
+ git crypt lock
+ popd
+ echo "Done."
}
trap mail_debug_log EXIT
@@ -87,10 +94,3 @@ echo "Running the Ansible playbook..."
create_known_hosts_file
ansible-playbook -v provision.yaml > ./logs/ansible.txt 2>&1
echo "Done."
-
-echo "Locking git-crypt repositories back..."
-git crypt lock
-pushd ../vps-state/
-git crypt lock
-popd
-echo "Done."