From 7559f649f6f81ccd622e7c8e9e945ac8cb69e2cb Mon Sep 17 00:00:00 2001 From: Radar231 Date: Sun, 1 Aug 2021 08:59:49 -0400 Subject: [PATCH] cleaned up pathing --- deploy_static_website.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy_static_website.sh b/deploy_static_website.sh index 0ca3445..5c1a07a 100755 --- a/deploy_static_website.sh +++ b/deploy_static_website.sh @@ -1,4 +1,8 @@ #!/bin/bash -rsync -avv --delete -e "ssh -p 50022" /mnt/k8s-storage/delfax/website/ web@radar231.com:/var/www/radar231.com/html/ +devWebsite='/mnt/k8s-storage/delfax/website' +sitePath='/home/rmorrow/docker/nginx_radar231.com/radar231.com' + +rsync -avv --delete -e "ssh -p 50022" ${devWebsite}/ radar231.com:${sitePath}/html/ +ssh -p 50022 radar231.com cp -r ${sitePath}/images ${sitePath}/html/