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