From 42c308a44b290d6fae1d5c4eb431c702d5fd3b00 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Thu, 26 Aug 2021 23:39:07 -0700 Subject: [PATCH] fix: gitlab-ci.yml to remove build website name --- .gitlab-ci.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 741ad2f..95e7912 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,12 @@ -build website: - stage: build - # Using the latest of ubuntu image - image: ubuntu:latest - cache: - paths: - - node_modules/ # Node modules and dependencies - before_script: - - apt-get update -qy # Check for update - - apt-get install -y lftp # Install lftp - - npm install -g hexo-cli # Install Hexo itself - - npm install # Install Hexo modules and dependencies - - npm install hexo-renderer-pug # Install Butterfly pug - - npm install hexo-renderer-stylus # Install stylus renderer +# Using the latest of ubuntu image +image: ubuntu:latest +before_script: + - apt-get update -qy # Check for update + - apt-get install -y lftp # Install lftp + - npm install -g hexo-cli # Install Hexo itself + - npm install # Install Hexo modules and dependencies + - npm install hexo-renderer-pug # Install Butterfly pug + - npm install hexo-renderer-stylus # Install stylus renderer deploy via lftp: stage: deploy