fix(CI): hidden files were not uploaded

This commit is contained in:
Laureηt 2021-11-13 14:26:44 +01:00
parent c42e9a94cb
commit 8d6d4fafc7
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
- ls | 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