From 152855f6fdae5c0e28e8ece563acd5e51210a161 Mon Sep 17 00:00:00 2001 From: maxime-cool Date: Fri, 12 Jan 2024 10:42:36 +0100 Subject: [PATCH] regroupement build et deploy --- .drone.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9ffcc3c..f729c3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,17 +11,6 @@ steps: - hugo version - echo "Checking folder" - ls - - name: Add theme as submodule - image: drone/git - commands: - - git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke - - 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: @@ -30,4 +19,5 @@ 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