Merge branch 'fix-autodeploy-ci' into 'master'
Store artifacts and only need the submodule during build See merge request !2
This commit is contained in:
commit
f79c919308
1 changed files with 6 additions and 4 deletions
|
@ -1,13 +1,15 @@
|
|||
image: golang:1.9
|
||||
|
||||
before_script:
|
||||
- git submodule sync --recursive
|
||||
- git submodule update --init --recursive
|
||||
|
||||
gohugo-build:
|
||||
script:
|
||||
- git submodule sync --recursive
|
||||
- git submodule update --init --recursive
|
||||
- go get github.com/gohugoio/hugo
|
||||
- hugo
|
||||
artifacts:
|
||||
expire_in: 1 week
|
||||
paths:
|
||||
- public
|
||||
|
||||
gohugo-deploy:
|
||||
image: kyleondy/alpine-rsync
|
||||
|
|
Loading…
Add table
Reference in a new issue