From 968553cb59ed025263b728a434638a6183d25280 Mon Sep 17 00:00:00 2001 From: Sintal <61sima1bif@hft-stuttgart.de> Date: Tue, 18 May 2021 13:19:56 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8cb7773..56c0f16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ before_script: Test SSH: script: - #- scp testscript.sh $USER_NAME:~/testscript/testscript.sh - #- scp helloworld.c $USER_NAME:~/testscript/helloworld.c - #- ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh" - - ssh -o 'StrictHostKeyChecking no' $USER_NAME "mkdir -p testscript && scp testscript.sh $USER_NAME:~/testscript/testscript.sh && cd testscript && ls -al" + - ssh $USER_NAME "mkdir -p testscript" + - scp testscript.sh $USER_NAME:~/testscript/testscript.sh + - scp helloworld.c $USER_NAME:~/testscript/helloworld.c + - ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh" -- GitLab