revert bis
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Julien-DAI 2023-12-15 10:47:55 +01:00
parent 60819df80c
commit 89ccabb3a2

View file

@ -19,11 +19,15 @@ steps:
- hugo --config hugo.toml - hugo --config hugo.toml
#- minify -r -o /drone/src/build /drone/src/build #- minify -r -o /drone/src/build /drone/src/build
- name: Deploy - name: Deploy
image: plugins/hugo image: alpine/git
environment: environment:
AWS_ACCESS_KEY_ID: GIT_USERNAME:
from_secret: AWS_ACCESS_KEY_ID from_secret: GIT_USERNAME
AWS_SECRET_ACCESS_KEY: GIT_PASSWORD:
from_secret: AWS_SECRET_ACCESS_KEY from_secret: GIT_PASSWORD
commands: commands:
- hugo deploy --config hugo.toml - 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