kind: pipeline name: default steps: - name: Update image: appleboy/drone-ssh settings: host: - greed.clortox.com username: tyler password: from_secret: ssh_password port: 22 command_timeout: 2m script: - cd /home/tyler/docker/site-container - ./update.sh - name: notify image: clortox/drone-ntfy settings: URL: https://ntfy.clortox.com USERNAME: drone PASSWORD: from_secret: ntfy_password TOPIC: drone-builds MESSAGE: Site build done! CLICK: https://drone.clortox.com/tyler/site TITLE: Drone build when: status: - sucess - name: notify-failure image: clortox/drone-ntfy settings: URL: https://ntfy.clortox.com USERNAME: drone PASSWORD: from_secret: ntfy_password TOPIC: drone-builds TAG: warning MESSAGE: Site build has failed! CLICK: https://drone.clortox.com/tyler/site TITLE: Drone build when: status: - failure