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