From 54803df50d20a4392e86e580a914e42507ebfef6 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 25 May 2022 19:00:18 +0000 Subject: [PATCH 1/2] update CD --- .space.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.space.kts b/.space.kts index 8986031..6fedeb1 100644 --- a/.space.kts +++ b/.space.kts @@ -20,7 +20,7 @@ job("Deploy") { shellScript { interpreter = "/bin/bash" content = """ - echo ${'$'}ID | ssh -i /dev/stdin -r /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" + echo ${'$'}ID | ssh -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" """.trimIndent() } } From 7563693259b35e4f8cfd14332955232fbe4d96e1 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 25 May 2022 19:06:15 +0000 Subject: [PATCH 2/2] Fix typo in shell script --- .space.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.space.kts b/.space.kts index 6fedeb1..0380194 100644 --- a/.space.kts +++ b/.space.kts @@ -20,7 +20,7 @@ job("Deploy") { shellScript { interpreter = "/bin/bash" content = """ - echo ${'$'}ID | ssh -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" + echo ${'$'}ID | scp -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" """.trimIndent() } }