Add correct ssh port
This commit is contained in:
@@ -7,6 +7,11 @@ on:
|
||||
jobs:
|
||||
push-banks:
|
||||
runs-on: linux-mint
|
||||
env:
|
||||
UNITY_SSH_KEY: ${{ secrets.TESTFMODPIPELINE }}
|
||||
GITEA_SSH_PORT: "222"
|
||||
GITEA_HOST_URL: "git.hbrsgamedev.team"
|
||||
TARGET_REPO: "sdaehn2s/Team-A-dream-traveler-unity-test.git"
|
||||
steps:
|
||||
- name: Download Built Banks
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -15,10 +20,6 @@ jobs:
|
||||
path: ./downloaded-banks
|
||||
|
||||
- name: Clone, Update Banks and Push Branch
|
||||
env:
|
||||
UNITY_SSH_KEY: ${{ secrets.TESTFMODPIPELINE }}
|
||||
GITEA_HOST: git.hbrsgamedev.team
|
||||
UNITY_SSH_URL: git@git.hbrsgamedev.team:sdaehn2s/Team-A-dream-traveler-unity-test.git
|
||||
run: |
|
||||
set -e
|
||||
|
||||
@@ -30,8 +31,10 @@ jobs:
|
||||
|
||||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_fmod -o IdentitiesOnly=yes"
|
||||
|
||||
SSH_URL="git@${GITEA_HOST_URL}:${GITEA_SSH_PORT}/${TARGET_REPO}
|
||||
|
||||
rm -rf ./unity-repo
|
||||
git clone "$UNITY_SSH_URL" ./unity-repo
|
||||
git clone SSH_URL ./unity-repo
|
||||
cd ./unity-repo
|
||||
|
||||
git config user.name "fmod-pipeline-bot"
|
||||
|
||||
@@ -9,6 +9,7 @@ jobs:
|
||||
env:
|
||||
UNITY_SSH_KEY: ${{ secrets.TESTFMODPIPELINE }}
|
||||
GITEA_HOST: git.hbrsgamedev.team
|
||||
GITEA_SSH_PORT: "222"
|
||||
steps:
|
||||
- name: Check Environment and Key Presence
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user