doc: update lftp script in README.md

This commit is contained in:
Leon Xu committed 2021-08-27 00:30:00 -07:00
1 parent ba94aa05c1
commit 390905f4d4
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,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 local-folder/ destination-folder/; bye"
- lftp -e "mirror -R public/ $FTP_REMOTE_PATH/" -u $FTP_USER,$FTP_PASS $FTP_HOST $FTP_PORT
artifacts:
paths:
- public