Add gitlab ci config
This commit is contained in:
parent
8bc07b2ae1
commit
7dec70cd78
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal 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..."
|
||||
|
Loading…
Reference in New Issue
Block a user