This commit is contained in:
Ariejan de Vroom 2015-12-04 15:34:29 +01:00
parent 185c897c0a
commit 0b5e8ada92

View File

@ -2,24 +2,13 @@ image: golang:1.5
before_script:
- go get -v github.com/spf13/hugo
- apt-get install rsync
stages:
- build
- deploy
build_job:
stage: build
tags:
- golang
script:
- hugo
deploy_job:
stage: deploy
job:
only:
- master
tags:
- golang
script:
- hugo
- rsync -aqz --delete-after --no-progress public/ -e ssh $RSYNC_TARGET