doc: add lftp script to deploy script in Gitlab CI with lftp
This commit is contained in:
1 parent
0ea51d8043
commit
fd6ed50980
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user