diff --git a/.drone.yml b/.drone.yml index 64b61e8..beb9df9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,15 +19,11 @@ steps: - hugo --config hugo.toml #- minify -r -o /drone/src/build /drone/src/build - name: Deploy - image: alpine/git + image: plugins/hugo environment: - GIT_USERNAME: - from_secret: GIT_USERNAME - GIT_PASSWORD: - from_secret: GIT_PASSWORD + AWS_ACCESS_KEY_ID: + from_secret: AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY: + from_secret: AWS_SECRET_ACCESS_KEY commands: - - git clone https://julienDai@git.deuxfleurs.fr/julienDai/test - - cd test - - git config user.name "julienDai" - - git config user.email "julien.dai@imt-atlantique.net" - - git push origin main \ No newline at end of file + - hugo deploy --config hugo.toml \ No newline at end of file