This commit is contained in:
parent
89ccabb3a2
commit
3cc8e87528
1 changed files with 6 additions and 10 deletions
16
.drone.yml
16
.drone.yml
|
@ -19,15 +19,11 @@ 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: alpine/git
|
image: plugins/hugo
|
||||||
environment:
|
environment:
|
||||||
GIT_USERNAME:
|
AWS_ACCESS_KEY_ID:
|
||||||
from_secret: GIT_USERNAME
|
from_secret: AWS_ACCESS_KEY_ID
|
||||||
GIT_PASSWORD:
|
AWS_SECRET_ACCESS_KEY:
|
||||||
from_secret: GIT_PASSWORD
|
from_secret: AWS_SECRET_ACCESS_KEY
|
||||||
commands:
|
commands:
|
||||||
- git clone https://julienDai@git.deuxfleurs.fr/julienDai/testconfig.git
|
- hugo deploy --config hugo.toml
|
||||||
- cd testconfig
|
|
||||||
- git config user.name "julienDai"
|
|
||||||
- git config user.email "julien.dai@imt-atlantique.net"
|
|
||||||
- git push origin main
|
|
Loading…
Reference in a new issue