fix: gitlab-ci.yml to remove build website name

This commit is contained in:
Leon Xu committed 2021-08-26 23:39:07 -07:00
1 parent 07edbd5699
commit 42c308a44b
1 file changed
+9 -14
+9 -14
View File
@@ -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