Update .gitlab-ci.yml

This commit is contained in:
Leon Xu committed 2021-07-22 23:41:14 +00:00
1 parent cc0c75b579
commit fbf46da0be
1 file changed
-10
-10
View File
@@ -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