Update .gitlab-ci.yml file
This commit is contained in:
1 parent
75cd412595
commit
c417dd4ade
1 file changed
+3
-2
+3
-2
@@ -26,7 +26,8 @@ deploy to website:
|
||||
- npm install -g hexo-cli # Install hexo itself
|
||||
- npm install # Install Hexo modules and dependencies
|
||||
- hexo clean # Hexo clean previous static site
|
||||
- lftp -u $FTP_USERNAME,$FTP_PASSWORD server281.web-hosting.com -e "mirror /home/$FTP_USERNAME/public_html/ -R -p site dev ; quit"
|
||||
- hexo deploy # Deploy hexo to domain
|
||||
- hexo generate # Deploy hexo to domain
|
||||
- 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
|
||||
Reference in new issue
Block a user