Skip to content

Commit d27f0d6

Browse files
committed
Changed the way ssh key is added in CI
1 parent 4879c95 commit d27f0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
REMOTE_IP: ${{ secrets.REMOTE_IP }}
4343
run: |
4444
eval $(ssh-agent -s)
45-
ssh-add <(echo "$REMOTE_SSH_KEY")
45+
echo "$REMOTE_SSH_KEY" | ssh-add -
4646
scp -O -r -o "StrictHostKeyChecking no" -o "BatchMode yes" build/* "$REMOTE_IP":/home/amadeus
4747
ssh -n -o "StrictHostKeyChecking no" -o "BatchMode yes" "$REMOTE_IP" "rm -rf /home/amadeus/public"
4848
ssh-agent -k

0 commit comments

Comments
 (0)