29 lines
422 B
YAML
29 lines
422 B
YAML
|
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/
|
||
|
|
||
|
|
||
|
|
||
|
|