diff options
| author | EuAndreh <eu@euandre.org> | 2019-05-26 17:43:35 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-05-26 17:43:35 -0300 |
| commit | c286ec8a23e3d0d653ea05bc870ff9a1735becfd (patch) | |
| tree | efd437800b8cf9da5a1061e20e705e43bd108135 /provision.sh | |
| parent | Revert back from Debian to NixOS (diff) | |
| download | server-c286ec8a23e3d0d653ea05bc870ff9a1735becfd.tar.gz server-c286ec8a23e3d0d653ea05bc870ff9a1735becfd.tar.xz | |
Unlock with git-crypt in setup phase
Diffstat (limited to 'provision.sh')
| -rw-r--r-- | provision.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/provision.sh b/provision.sh index 21e0f1f..79358af 100644 --- a/provision.sh +++ b/provision.sh @@ -2,17 +2,11 @@ set -Eeuo pipefail cd "${BASH_SOURCE%/*}/" -echo "Unlocking git-crypt repositories and loading secrets..." -git crypt unlock -pushd ../vps-state/ -git crypt unlock -popd -source .envrc -echo "Done." - # shellcheck disable=SC2139 alias ssh="ssh -i secrets/id_rsa root@$TLD" +source .envrc + echo "Shutting down running containers..." ssh "cd /home/vps/ && docker-compose down" echo "Done." |
