Added deletion to deploy_website.sh
This commit is contained in:
1 parent
0fe9c49c8a
commit
3e7f3221bd
1 file changed
+3
@@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "Deleting at target"
|
||||
lftp -p 21 -u $CU_USR,$CU_PASSWORD $CU_HOSTNAME -e "set ftp:ssl-allow no; cd $CU_DIR; glob -a rm -r *; bye"
|
||||
|
||||
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"
|
||||
Reference in new issue
Block a user