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/