diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32fd41d23278ac43d6f5b7276ff9f397cb212003..c2963a8fa91465751fee0bb9f04cee9c9dc7dc0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,4 +13,4 @@ Test SSH: script: - scp testscript.sh $USER_NAME:~/testscript/testscript.sh - scp helloworld.c $USER_NAME:~/testscript/helloworld.c - - ssh $USER_NAME "chmod 700 testscript/testscript.sh && testscript/testscript.sh" + - ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh"