diff --git a/.gitea/workflows/push-banks.yml b/.gitea/workflows/push-banks.yml index 9c8b540..63c43ed 100644 --- a/.gitea/workflows/push-banks.yml +++ b/.gitea/workflows/push-banks.yml @@ -27,14 +27,14 @@ jobs: chmod 700 ~/.ssh printf "%s\n" "$UNITY_SSH_KEY" > ~/.ssh/id_fmod chmod 600 ~/.ssh/id_fmod - ssh-keyscan -H "$GITEA_HOST" >> ~/.ssh/known_hosts + ssh-keyscan -H "$GITEA_HOST_URL" -p "$GITEA_SSH_PORT" >> ~/.ssh/known_hosts export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_fmod -o IdentitiesOnly=yes" - SSH_URL="git@${GITEA_HOST_URL}:${GITEA_SSH_PORT}/${TARGET_REPO} + SSH_URL="ssh://git@${GITEA_HOST_URL}:${GITEA_SSH_PORT}/${TARGET_REPO}" rm -rf ./unity-repo - git clone SSH_URL ./unity-repo + git clone "$SSH_URL" ./unity-repo cd ./unity-repo git config user.name "fmod-pipeline-bot"