C'est automatique
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine Bartuccio 2021-07-01 22:21:01 +02:00
parent 37881f28cc
commit ea40449f9c

View File

@ -15,21 +15,21 @@ steps:
branch: master
event: push
# - name: deploy
# image: appleboy/drone-ssh
# environment:
# SSH_PASSWORD:
# from_secret: ssh_password
# settings:
# host:
# from_secret: ssh_host
# username:
# from_secret: ssh_username
# password:
# from_secret: ssh_password
# envs: [ SSH_PASSWORD ]
# script:
# - echo $SSH_PASSWORD | sudo -S systemctl restart radio-bullshit
# when:
# branch: master
# event: push
- name: deploy
image: appleboy/drone-ssh
environment:
SSH_PASSWORD:
from_secret: ssh_password
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_username
password:
from_secret: ssh_password
envs: [ SSH_PASSWORD ]
script:
- echo $SSH_PASSWORD | sudo -S systemctl restart radio-bullshit
when:
branch: master
event: push