Add gitlab ci config

This commit is contained in:
Ariejan de Vroom 2015-12-04 15:09:01 +01:00
parent 8bc07b2ae1
commit 7dec70cd78

25
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,25 @@
image: golang:1.5
before_script:
- go install github.com/spf13/hugo
stages:
- build
- deploy
build_job:
stage: build
tags:
- golang
script:
- hugo
deploy_job:
stage: deploy
only:
- master
tags:
- golang
script:
- echo "I would be deploying right about now..."