test8
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolas Duhamel 2021-11-01 10:27:25 +01:00
parent aa1d9342af
commit 83b42dc45e

View File

@ -17,16 +17,32 @@ steps:
environment:
PASSWORD:
from_secret: ssh_key
- name: Deploy
image: appleboy/drone-scp
settings:
host:
- gavarni.jombi.fr
user: citadel
# key:
# from_secret: ssh_key
password:
from_secret: ssh_password
port: 22
command_timeout: 2m
target: /home/citadel
source:
- ./yamaha2mqtt.pex
strip_components: 1
- name: ssh commands
image: appleboy/drone-ssh
settings:
host: gavarni.jombi.fr
username: citadel
port: 22
key:
from_secret: ssh_key
# password:
# from_secret: ssh_password
# key:
# from_secret: ssh_key
password:
from_secret: ssh_password
script:
- mv yamaha2mqtt.pex ./services/bin/yamaha2mqtt
- systemctl --user restart citadel@yamaha2mqtt