doc: add needs to reference to previous build status and remove installation of hexo cli

This commit is contained in:
Leon Xu committed 2021-08-27 12:17:34 -07:00
1 parent 0ef24f44b8
commit ce5ed5b51e
1 file changed
+1 -3
+1 -3
View File
@@ -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