From 4c54ebf6c31e37a3820ff303a550909326ff04e5 Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 19 Nov 2023 21:13:50 +0100 Subject: [PATCH] push --- .gitea/workflows/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index a752bf5..9e06e12 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -74,6 +74,9 @@ jobs: run: | mkdir ~/.ssh ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts + echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + scp target/$CARGO_TARGET/release/rot $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/rot-updating scp staging-diff.sql $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/