From 89ccabb3a297fff2788cfd6199d2b7896de89405 Mon Sep 17 00:00:00 2001 From: Julien-DAI Date: Fri, 15 Dec 2023 10:47:55 +0100 Subject: [PATCH] revert bis --- .drone.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index beb9df9..3680316 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,11 +19,15 @@ steps: - hugo --config hugo.toml #- minify -r -o /drone/src/build /drone/src/build - name: Deploy - image: plugins/hugo + image: alpine/git environment: - AWS_ACCESS_KEY_ID: - from_secret: AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY: - from_secret: AWS_SECRET_ACCESS_KEY + GIT_USERNAME: + from_secret: GIT_USERNAME + GIT_PASSWORD: + from_secret: GIT_PASSWORD commands: - - hugo deploy --config hugo.toml \ No newline at end of file + - git clone https://julienDai@git.deuxfleurs.fr/julienDai/testconfig.git + - cd testconfig + - git config user.name "julienDai" + - git config user.email "julien.dai@imt-atlantique.net" + - git push origin main \ No newline at end of file