Store artifacts and only need the submodule during build #2
1 changed files with 6 additions and 4 deletions
|
@ -1,13 +1,15 @@
|
||||||
image: golang:1.9
|
image: golang:1.9
|
||||||
|
|
||||||
before_script:
|
|
||||||
- git submodule sync --recursive
|
|
||||||
- git submodule update --init --recursive
|
|
||||||
|
|
||||||
gohugo-build:
|
gohugo-build:
|
||||||
script:
|
script:
|
||||||
|
- git submodule sync --recursive
|
||||||
|
- git submodule update --init --recursive
|
||||||
- go get github.com/gohugoio/hugo
|
- go get github.com/gohugoio/hugo
|
||||||
- hugo
|
- hugo
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 week
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
|
||||||
gohugo-deploy:
|
gohugo-deploy:
|
||||||
image: kyleondy/alpine-rsync
|
image: kyleondy/alpine-rsync
|
||||||
|
|
Loading…
Add table
Reference in a new issue