fix: amelioration pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kazhnuz 2022-03-26 14:34:21 +01:00
parent 473d1def4d
commit cbf656cc22

View file

@ -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