doc: remove the installation of hexo cli and its dependencies
This commit is contained in:
1 parent
c1f91380e2
commit
db8db0f66d
1 file changed
-6
@@ -3,16 +3,10 @@ image: ubuntu:latest
|
||||
before_script:
|
||||
- apt-get update -qy # Check for update
|
||||
- apt-get install -y lftp # Install lftp
|
||||
- npm install -g hexo-cli # Install Hexo itself
|
||||
- npm install # Install Hexo modules and dependencies
|
||||
- npm install hexo-renderer-pug # Install Butterfly pug
|
||||
- npm install hexo-renderer-stylus # Install stylus renderer
|
||||
|
||||
deploy via lftp:
|
||||
stage: deploy
|
||||
script:
|
||||
- hexo clean # Hexo clean previous static site
|
||||
- hexo generate # Hexo generate Static Site
|
||||
- lftp -e "set ssl:verify-certificate no; open $FTP_HOST; user $FTP_USERNAME $FTP_PASSWORD $FTP_PORT; mirror -X .* -X .*/ --reverse --verbose --delete public/ $FTP_REMOTE_PATH/; bye"
|
||||
artifacts:
|
||||
paths:
|
||||
|
||||
Reference in new issue
Block a user