blog/.gitlab-ci.yml

24 lines
411 B
YAML
Raw Normal View History

2016-08-21 23:50:41 -04:00
stages:
- compile
2016-08-21 23:55:07 -04:00
# - deploy
2016-08-21 23:50:41 -04:00
compile:
stage: compile
before_script:
- git submodule update --init
2016-08-27 21:43:59 -04:00
script: hugo -d /srv/runner/live/boniface.me/
2016-08-21 23:50:41 -04:00
artifacts:
paths:
- public
only:
- master
#deploy to dreamhost:
# stage: deploy
# script: rsync -e "/usr/bin/ssh" -rv public/ anthonylavado@clam.dreamhost.com:blog.anthonylavado.com
# environment: production
# only:
# - master