fix: amelioration pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
473d1def4d
commit
cbf656cc22
1 changed files with 9 additions and 9 deletions
18
.drone.yml
18
.drone.yml
|
@ -18,15 +18,15 @@ steps:
|
|||
- gulp
|
||||
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
image: drillster/drone-rsync # image docker permettant d'utiliser rsync pour déployer des fichiers sur un ou plusieurs hôtes
|
||||
settings:
|
||||
hosts:
|
||||
from_secret: deploy_host
|
||||
hosts: ["kobold.city"]
|
||||
target: /var/www/rulebook.kobold.city
|
||||
source: dist/*
|
||||
user:
|
||||
from_secret: deploy_user
|
||||
from_secret: deploy_user # ici, l'utilisateur sera tiré d'un secret Drone
|
||||
key:
|
||||
from_secret: deploy_key
|
||||
target:
|
||||
from_secret: deploy_target
|
||||
source: ./dist
|
||||
delete: true
|
||||
from_secret: deploy_key # idem pour la clé privée permettant la connexion à l'hôte
|
||||
when:
|
||||
branch: master # uniquement sur la branche master !
|
||||
delete: true
|
||||
|
|
Loading…
Reference in a new issue