diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-24 12:08:42 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-24 12:08:42 +0200 |
commit | db5dc01b2744e07e14e21d5e5d0756c16026fdae (patch) | |
tree | 075050d282dd5f0eab12b44df9c7a40c5b9000f0 /deploy.sh | |
download | kuchnia-db5dc01b2744e07e14e21d5e5d0756c16026fdae.tar.gz kuchnia-db5dc01b2744e07e14e21d5e5d0756c16026fdae.zip |
Init
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..184ea7a --- /dev/null +++ b/deploy.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +[ -d dest ] && rm -r dest +mkdir dest +./build.sh > dest/index.html +cp kuchnia.jpg dest +cp style.css dest + +rsync -aP dest/ srv1:/srv/www/zhr.niedzwiedzinski.cyou/kuchnia |