From 643926ab5e2c0998b8445eb9cdc3bf1a545ab9cf Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 9 Jul 2020 12:51:43 +0200 Subject: [PATCH] refactor: sshpass is now part of the image * and also a redundant whitespace removed --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f35150a..3435837 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,8 +29,6 @@ steps: OL_D: from_secret: hugo_dir commands: - - apk update - - apk add sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing - echo $OL_P > nupass - export RSYNC_RSH='sshpass -f ./nupass ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' - rsync -av --delete --chown $OL public/ $OL@dotya.ml:$OL_D @@ -67,7 +65,7 @@ steps: image: appleboy/drone-discord:latest settings: message: > - {{#success build.status}} + {{#success build.status}} ✅ [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` has been successfully deployed. event: **`{{build.event}}`** commit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`