blog/.gitlab-ci.yml

17 lines
269 B
YAML
Raw Normal View History

2016-08-21 23:50:41 -04:00
stages:
2017-05-15 02:31:48 -04:00
- deploy
deploy:
stage: deploy
before_script:
2016-08-21 23:50:41 -04:00
- git submodule update --init
2017-05-15 02:31:48 -04:00
script:
- hugo
2017-06-22 02:00:36 -04:00
- /usr/local/bin/deploy-site www.boniface.me public/
2016-08-21 23:50:41 -04:00
artifacts:
2017-05-15 02:31:48 -04:00
when: on_failure
2016-08-21 23:50:41 -04:00
paths:
- public
2017-05-15 02:31:48 -04:00
expire_in: 5 min
2016-08-21 23:50:41 -04:00
only:
- master