doc: add needs to reference to previous build status and remove installation of hexo cli
This commit is contained in:
1 parent
0ef24f44b8
commit
ce5ed5b51e
1 file changed
+1
-3
+1
-3
@@ -14,11 +14,9 @@ build website:
|
||||
|
||||
deploy to website:
|
||||
stage: deploy
|
||||
needs: ["build website"]
|
||||
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
|
||||
only:
|
||||
- master # this job will affect only the 'master' branch
|
||||
Reference in new issue
Block a user