|
|
@ -1,5 +1,5 @@ |
|
|
|
kind: pipeline |
|
|
|
kind: pipeline |
|
|
|
name: hugo |
|
|
|
name: hugo build and deploy |
|
|
|
type: docker |
|
|
|
type: docker |
|
|
|
platform: |
|
|
|
platform: |
|
|
|
os: linux |
|
|
|
os: linux |
|
|
@ -10,15 +10,15 @@ trigger: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
|
|
#- name: git pull submodules |
|
|
|
- name: git pull submodules |
|
|
|
# image: alpine/git |
|
|
|
image: alpine/git |
|
|
|
# settings: |
|
|
|
settings: |
|
|
|
# user: |
|
|
|
user: |
|
|
|
# from_secret: GIT_USER |
|
|
|
from_secret: GIT_USER |
|
|
|
# password: |
|
|
|
password: |
|
|
|
# from_secret: GIT_PASSWORD |
|
|
|
from_secret: GIT_PASSWORD |
|
|
|
# commands: |
|
|
|
commands: |
|
|
|
# - git submodule update --init --recursive |
|
|
|
- git submodule update --init --recursive |
|
|
|
|
|
|
|
|
|
|
|
- name: build hugo site |
|
|
|
- name: build hugo site |
|
|
|
image: plugins/hugo |
|
|
|
image: plugins/hugo |
|
|
@ -28,7 +28,7 @@ steps: |
|
|
|
extended: true |
|
|
|
extended: true |
|
|
|
validate: true |
|
|
|
validate: true |
|
|
|
config: config.toml |
|
|
|
config: config.toml |
|
|
|
content: data |
|
|
|
# content: data |
|
|
|
output: ./public |
|
|
|
output: ./public |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- apk add libc6-compat libstdc++ |
|
|
|
- apk add libc6-compat libstdc++ |
|
|
|