Update .gitlab-ci.yml
This commit is contained in:
1 parent
4c4f272064
commit
89ca7de035
1 file changed
-10
@@ -14,13 +14,3 @@ build website:
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
upload:
|
||||
stage: deploy
|
||||
script:
|
||||
- hexo generate
|
||||
- apt-get install lftp -y
|
||||
- lftp -e "open server281.web-hosting.com; user $FTP_USERNAME $FTP_PASSWORD; mirror -X .* -X .*/ --reverse --verbose --delete local-folder/ public_html/; bye"
|
||||
- hexo deploy
|
||||
only:
|
||||
- master
|
||||
Reference in new issue
Block a user