26 lines
307 B
YAML
26 lines
307 B
YAML
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..."
|
|
|