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