From ce5ed5b51e47894ee617c71ae7148569e83a9f5d Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Fri, 27 Aug 2021 12:17:34 -0700 Subject: [PATCH] doc: add needs to reference to previous build status and remove installation of hexo cli --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9697d3..8a1aa4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file