doc: add hexo-cli and install dependencies in deploy stage
This commit is contained in:
1 parent
684c7a8045
commit
40b5a45cd9
1 file changed
+2
@@ -15,6 +15,8 @@ build website:
|
||||
deploy to website:
|
||||
stage: deploy
|
||||
script:
|
||||
- npm install -g hexo-cli # Install Hexo itself
|
||||
- npm install # Install Hexo modules and dependencies
|
||||
- hexo clean # Hexo clean previous static site
|
||||
- hexo generate # Hexo generate Static Site
|
||||
- hexo deploy # Deploy hexo to domain
|
||||
|
||||
Reference in new issue
Block a user