diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 743eacebc72e7966258fec2f433f5afe5e3d67dc..67ce1033dc6ac3b452f6e94c830744e9b8eff1c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,4 +12,6 @@ before_script: Test SSH: script: - - ssh $USER_NAME "./scriptPull/pull.sh" + - GITLAB_KEY=$(echo "$GITLAB_KEY" | tr -d '\r' | tr -d '\n') + - scp execute_vehicle_classification.sh $USER_NAME:~/execute_vehicle_classification/execute_vehicle_classification.sh + - ssh $USER_NAME "chmod 700 execute_vehicle_classification/execute_vehicle_classification.sh && ./execute_vehicle_classification/execute_vehicle_classification.sh $GITLAB_KEY"