From ea40449f9c49d45552220925d3b3fa5b9e7d9a5d Mon Sep 17 00:00:00 2001 From: klmp200 Date: Thu, 1 Jul 2021 22:21:01 +0200 Subject: [PATCH] C'est automatique --- .drone.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8e44f3c..17351ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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