From 1aa7f9ea34fccadf5033f8f40bd803032a1d197c Mon Sep 17 00:00:00 2001
From: Sintal <61sima1bif@hft-stuttgart.de>
Date: Mon, 17 May 2021 18:05:21 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 743eace..67ce103 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"
-- 
GitLab