doc: Update .gitlab-ci.yml
This commit is contained in:
1 parent
56741b0a00
commit
4c4f272064
1 file changed
+10
@@ -14,3 +14,13 @@ build website:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- 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