blog-hugo/.gitlab-ci.yml
2017-09-06 14:05:21 +02:00

21 lines
385 B
YAML

image: golang:1.9
before_script:
- git submodule sync --recursive
- git submodule update --init --recursive
gohugo-build:
script:
- go get github.com/gohugoio/hugo
- hugo
gohugo-deploy:
image: kyleondy/alpine-rsync
stage: deploy
tags:
- pages
only:
- master
script:
- mkdir -p /volumes/output/thomas
- rsync -r public/ /volumes/output/thomas