Fix push-banks.yml
This commit is contained in:
@@ -27,14 +27,14 @@ jobs:
|
|||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
printf "%s\n" "$UNITY_SSH_KEY" > ~/.ssh/id_fmod
|
printf "%s\n" "$UNITY_SSH_KEY" > ~/.ssh/id_fmod
|
||||||
chmod 600 ~/.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"
|
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
|
rm -rf ./unity-repo
|
||||||
git clone SSH_URL ./unity-repo
|
git clone "$SSH_URL" ./unity-repo
|
||||||
cd ./unity-repo
|
cd ./unity-repo
|
||||||
|
|
||||||
git config user.name "fmod-pipeline-bot"
|
git config user.name "fmod-pipeline-bot"
|
||||||
|
|||||||
Reference in New Issue
Block a user