Merge branch 'master' of gitlab.com:leonxu260/hexo-butterfly

This commit is contained in:
Leon Xu committed 2021-08-26 23:34:17 -07:00
commit 07edbd5699
1 file changed
+2 -2
+2 -2
View File
@@ -18,9 +18,9 @@ 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 "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"
artifacts:
paths:
- public
only:
- master # this job will affect only the 'master' branch
- master # this job will affect only the 'master' branch