26 lines
325 B
YAML
26 lines
325 B
YAML
|
# Full project: https://gitlab.com/pages/hexo
|
||
|
image: python:2.7
|
||
|
|
||
|
cache:
|
||
|
paths:
|
||
|
- vendor/
|
||
|
|
||
|
test:
|
||
|
stage: test
|
||
|
script:
|
||
|
- pip install hyde
|
||
|
- hyde gen
|
||
|
except:
|
||
|
- master
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
script:
|
||
|
- pip install hyde
|
||
|
- hyde gen -d public
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
only:
|
||
|
- master
|