Mise à jour de '.drone.yml'

v4
gregandev 2 years ago
parent a6a94c06eb
commit 4b3f45e5ab
  1. 22
      .drone.yml

@ -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++

Loading…
Cancel
Save