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