Building site content with hugo
This commit is contained in:
parent
b297c2f62b
commit
bd31f00149
28
.gitlab-ci.yml
Normal file
28
.gitlab-ci.yml
Normal file
@ -0,0 +1,28 @@
|
||||
image: shockrah/website:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
|
||||
############## ################## ##############
|
||||
############## Build Site Content ##############
|
||||
############## ################## ##############
|
||||
|
||||
|
||||
build-content:
|
||||
stage: build
|
||||
image: shockrah/website:latest
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
script:
|
||||
- cd main-site/ && hugo
|
||||
artifacts:
|
||||
exprie_in: 1 week
|
||||
paths:
|
||||
- main-site/public/
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user