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
16
.drone.yml
16
.drone.yml
|
@ -18,15 +18,15 @@ steps:
|
||||||
- gulp
|
- gulp
|
||||||
|
|
||||||
- name: deploy
|
- 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:
|
settings:
|
||||||
hosts:
|
hosts: ["kobold.city"]
|
||||||
from_secret: deploy_host
|
target: /var/www/rulebook.kobold.city
|
||||||
|
source: dist/*
|
||||||
user:
|
user:
|
||||||
from_secret: deploy_user
|
from_secret: deploy_user # ici, l'utilisateur sera tiré d'un secret Drone
|
||||||
key:
|
key:
|
||||||
from_secret: deploy_key
|
from_secret: deploy_key # idem pour la clé privée permettant la connexion à l'hôte
|
||||||
target:
|
when:
|
||||||
from_secret: deploy_target
|
branch: master # uniquement sur la branche master !
|
||||||
source: ./dist
|
|
||||||
delete: true
|
delete: true
|
||||||
|
|
Loading…
Reference in a new issue