diff options
author | davidovski <david@sendula.com> | 2021-08-27 03:08:43 +0100 |
---|---|---|
committer | davidovski <david@sendula.com> | 2021-08-27 03:08:43 +0100 |
commit | 372855459a5cb707a1cdbc6d7adb12177afbf44b (patch) | |
tree | dbce97edf0365812d920648030a5820e97a6b5c2 /sync.sh | |
parent | 16b00548ec80b58c4e9a2c14acb2c0b713fd5592 (diff) |
new article, added background
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ #!/bin/bash -cp templates/index.html templates/page.html +#cp templates/index.html templates/page.html python build.py -rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -vz -e ssh ./html/ oracle:/srv/davidovski/html +rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -vz -e ssh ./html/ cheetah:/srv/www/davidovski/html -git push # push after everything to keep it all backed up +ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/" + +# git push # push after everything to keep it all backed up |