Files
Hexo-Butterfly/.gitlab-ci.yml
T
2021-08-08 23:29:44 -07:00

13 lines
365 B
YAML

build website:
stage: build
# requiring the environment of NodeJS 4.2.2
image: node:latest
# add 'node_modules' to cache for speeding up builds
cache:
paths:
- node_modules/ # Node modules and dependencies
script:
- npm install -g hexo-cli # Install Hexo itself
- npm install # Install Hexo modules and dependencies
- hexo version