|
@ -5,9 +5,11 @@ stages: |
|
|
build-website: |
|
|
build-website: |
|
|
image: sothr.com/hugo:0.54.0 |
|
|
image: sothr.com/hugo:0.54.0 |
|
|
stage: build |
|
|
stage: build |
|
|
|
|
|
variables: |
|
|
|
|
|
HUGO_THEME: "pure" |
|
|
|
|
|
HUGO_BASEURL: "https://sothr.com" |
|
|
script: |
|
|
script: |
|
|
- /usr/local/sbin/hugo --theme pure --destination /output --baseURL https://sothr.com |
|
|
|
|
|
- TARGET=$PWD |
|
|
|
|
|
|
|
|
- /run.sh |
|
|
- tar -czvf website.tgz -C /output/ . |
|
|
- tar -czvf website.tgz -C /output/ . |
|
|
only: |
|
|
only: |
|
|
- master |
|
|
- master |
|
|