From 54c04b386752e387b3570cf9b79fdb11dabf2e96 Mon Sep 17 00:00:00 2001 From: Lorenz Herzberger Date: Thu, 17 Feb 2022 08:52:29 +0100 Subject: [PATCH] added ci secret to test script Signed-off-by: Lorenz Herzberger --- scripts/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index bec85ba..0d78298 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -4,8 +4,8 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -result=$(ssh root@64.225.106.52 'bash -s' < ./election.sh elect 35) -ssh root@64.225.105.60 'bash -s' < ./election.sh approve $result +result=$(ssh root@64.225.106.52 -i id_ed25519 'bash -s' < ./election.sh elect 35) +ssh root@64.225.105.60 -i id_ed25519 'bash -s' < ./election.sh approve $result exitcode=$?