From d94ed0868e925cc7beb7e91da5d5158e6aa275d9 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Wed, 22 Sep 2021 19:41:55 -0700 Subject: [PATCH] doc: add image and git config script in .gitlab-ci.yml --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f945bb3..3045dd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,9 @@ build website: deploy to website: stage: deploy + image: node:lastest script: + - git config --global init.defaultBranch master - npm install -g hexo-cli # Install hexo itself - npm install # Install Hexo modules and dependencies - hexo clean # Hexo clean previous static site