doc: add lftp script to deploy script in Gitlab CI with lftp

This commit is contained in:
Leon Xu committed 2021-08-26 23:30:05 -07:00
1 parent 0ea51d8043
commit fd6ed50980
1 file changed
+1
+1
View File
@@ -66,6 +66,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"
artifacts:
paths:
- public