Update .gitlab-ci.yml file

This commit is contained in:
Leon Xu committed 2022-03-16 00:04:50 +00:00
1 parent ca33da5773
commit 243a4106ae
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ deploy to website:
- npm install # Install Hexo modules and dependencies
- hexo clean # Hexo clean previous static site
- hexo generate # Deploy hexo to domain
- lftp -e "mirror -R /public $ FTP_REMOTE_PATH" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
- lftp -e "mirror -R public/ $ FTP_REMOTE_PATH" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
only:
- master # this job will affect only the 'master' branch