diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 21:32:51 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 21:32:51 +0100 |
| commit | e0b0b2f976c61225a178c7715caf2656a1f6741f (patch) | |
| tree | 78a0e5c861462822d212c065f0825c906209bfe9 /old/server/deploy.sh | |
| parent | c5b02ffab8d388e8a2925e51736b902a48a95e71 (diff) | |
moving stuff
Diffstat (limited to 'old/server/deploy.sh')
| -rwxr-xr-x | old/server/deploy.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/old/server/deploy.sh b/old/server/deploy.sh new file mode 100755 index 00000000..c2594cab --- /dev/null +++ b/old/server/deploy.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +d_src="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/ +d_dst=/home/dull/dulldream/www/dulldream_xyz +ssh_alis=dulldream-root +#DOCKER_DIR_P1="$(dirname "$CWD")" + +echo "Syncing DullDream LOCAL to -> REMOTE" +echo $d_src +echo $d_dst + + +#rsync -a -e 'ssh' \ +rsync -r -v --progress -e 'ssh' \ + --delete \ + --exclude='.DS_Store' \ + --exclude='deploy.sh' \ + $d_src $ssh_alis:$d_dst + +echo "Synced :)"
\ No newline at end of file |
