doc: update lftp script

This commit is contained in:
Leon Xu committed 2021-08-26 23:58:35 -07:00
1 parent 507b1bb57e
commit 112d03c17e
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ deploy via lftp:
script:
- hexo clean # Hexo clean previous static site
- hexo generate # Hexo generate Static Site
- lftp -e "set ssl:verify-certificate no; open $FTP_HOST; user $FTP_USERNAME $FTP_PASSWORD $FTP_PORT; mirror -X .* -X .*/ --reverse --verbose --delete public/ $FTP_REMOTE_PATH/; bye"
- lftp -e "set ftp:ssl-protect-data true ; mirror -R mirror -X .* -X .*/ --reverse --verbose --delete public/ $FTP_REMOTE_PATH/; quit" -u $FTP_USER,$FTP_PASS $FTP_HOST
artifacts:
paths:
- public