fetch submodule

This commit is contained in:
maxime-cool 2024-01-12 10:51:00 +01:00
parent ea1711b054
commit 000456c711

View file

@ -11,6 +11,17 @@ steps:
- hugo version
- echo "Checking folder"
- ls
- name: submodule fetch
image: drone/git
commands:
- git submodule update --init --recursive
- name: Build
image: plugins/hugo
settings:
validate: true
commands:
- hugo --config hugo.toml
#- minify -r -o /drone/src/build /drone/src/build
- name: Deploy
image: plugins/hugo
environment:
@ -19,5 +30,4 @@ steps:
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
commands:
- hugo --config hugo.toml
- hugo deploy --config hugo.toml