From 000456c71147865be7346cab1e14157846596baf Mon Sep 17 00:00:00 2001 From: maxime-cool Date: Fri, 12 Jan 2024 10:51:00 +0100 Subject: [PATCH] fetch submodule --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f729c3e..51fd8a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file