diff options
author | EuAndreh <eu@euandre.org> | 2019-05-27 22:38:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-27 22:38:38 -0300 |
commit | fe36d8c7621e090db9900d2128c95bfd6a0a8d33 (patch) | |
tree | cc6f764dec76412ab5817999a03038a8bfe1c8b0 | |
parent | Add Nextcloud recipe to docker-compose.yaml (diff) | |
download | toph-fe36d8c7621e090db9900d2128c95bfd6a0a8d33.tar.gz toph-fe36d8c7621e090db9900d2128c95bfd6a0a8d33.tar.xz |
Add bash_aliases.sh and scp it when deploying a new box
-rw-r--r-- | bash_aliases.sh | 3 | ||||
-rwxr-xr-x | deploy.sh | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bash_aliases.sh b/bash_aliases.sh new file mode 100644 index 0000000..c01bf51 --- /dev/null +++ b/bash_aliases.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +alias l="ls -lahp" @@ -30,6 +30,7 @@ echo "Done." echo "Copy over files..." ssh "$TLD" mkdir -p /home/vps/ +scp bash_aliases.sh "$TLD":/root/.bash_aliases envsubst < docker-compose.yaml > docker-compose.yaml.fd scp docker-compose.yaml.fd "$TLD":/home/vps/docker-compose.yaml rm docker-compose.yaml.fd |