From 8a920879500f28d675651287c97b0307e8613111 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 9 Jul 2020 10:29:26 +0200 Subject: [PATCH] fix: printf is gonna save us all --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d650ff2..8b01b5c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,8 +31,8 @@ steps: OL_D: from_secret: hugo_dir commands: - - echo -n $OL_K > ol_k - - echo -n $OL_K_PUB > ol_k.pub + - printf %s "$OL_K" > ol_k + - printf %s "$OL_K_PUB" > ol_k.pub - chmod -v 0600 ./ol_k - chmod -v 0644 ./ol_k.pub - rsync --rsh="ssh -i ./ol_k -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D