Add correct ssh port
This commit is contained in:
@@ -7,6 +7,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
push-banks:
|
push-banks:
|
||||||
runs-on: linux-mint
|
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:
|
steps:
|
||||||
- name: Download Built Banks
|
- name: Download Built Banks
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -15,10 +20,6 @@ jobs:
|
|||||||
path: ./downloaded-banks
|
path: ./downloaded-banks
|
||||||
|
|
||||||
- name: Clone, Update Banks and Push Branch
|
- 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: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -30,8 +31,10 @@ jobs:
|
|||||||
|
|
||||||
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}
|
||||||
|
|
||||||
rm -rf ./unity-repo
|
rm -rf ./unity-repo
|
||||||
git clone "$UNITY_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"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
UNITY_SSH_KEY: ${{ secrets.TESTFMODPIPELINE }}
|
UNITY_SSH_KEY: ${{ secrets.TESTFMODPIPELINE }}
|
||||||
GITEA_HOST: git.hbrsgamedev.team
|
GITEA_HOST: git.hbrsgamedev.team
|
||||||
|
GITEA_SSH_PORT: "222"
|
||||||
steps:
|
steps:
|
||||||
- name: Check Environment and Key Presence
|
- name: Check Environment and Key Presence
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user