diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfbf2befd89c38be28c8b62a4bbc79f7c8046b70..32fd41d23278ac43d6f5b7276ff9f397cb212003 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 "cd testscript && chmod 700 testscript.sh && ./testscript.sh" + - ssh $USER_NAME "chmod 700 testscript/testscript.sh && testscript/testscript.sh"