From c75cbe7217deffee28be53e653d231774f990182 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Thu, 26 May 2022 14:15:24 +0000 Subject: [PATCH] update CD --- .space.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.space.kts b/.space.kts index 0380194..99e6146 100644 --- a/.space.kts +++ b/.space.kts @@ -20,7 +20,8 @@ job("Deploy") { shellScript { interpreter = "/bin/bash" content = """ - echo ${'$'}ID | scp -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" + echo ${'$'}ID > id.pub + scp -r -i id.pub /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" """.trimIndent() } }