From 40b5a45cd94252f38a6da453ff8ea121fe1ff5e5 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Fri, 27 Aug 2021 12:10:09 -0700 Subject: [PATCH] doc: add hexo-cli and install dependencies in deploy stage --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b95c9fa..a9697d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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