Created scripts for automatic deployment

This commit is contained in:
2019-07-10 17:43:53 +00:00
parent 4ee876e192
commit feecf49bf4
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
echo "Uploading"
cd _site || exit
lftp -p 21 -u $CU_USR,$CU_PASSWORD $CU_HOSTNAME -e "set ftp:ssl-allow no; mirror -R . $CU_DIR; bye"