fix(CI): replaced "-R" by "-r"

This commit is contained in:
Laureηt 2021-11-13 14:32:03 +01:00
parent 8d6d4fafc7
commit 6081651e94
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -33,5 +33,5 @@ Deploy:
- cd _site - cd _site
- find . -depth -type "f" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "rm "$1}' > .sftp_rm - find . -depth -type "f" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "rm "$1}' > .sftp_rm
- find . -depth -type "d" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "rmdir "$1}' > .sftp_rmdir - find . -depth -type "d" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "rmdir "$1}' > .sftp_rmdir
- find . -depth -type "f" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "put -R "$1}' > .sftp_put - find . -depth -type "f" -printf "%P\n" | grep -v -e content -e .sftp | awk '{print "put -r "$1}' > .sftp_put
- cat .sftp_rm .sftp_rmdir .sftp_put | sftp -v fainsil@ftp.perso.bde.inp-toulouse.fr:www_public - cat .sftp_rm .sftp_rmdir .sftp_put | sftp -v fainsil@ftp.perso.bde.inp-toulouse.fr:www_public