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