Skip to content

Commit

Permalink
Update sync_to_bitbucket.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterPu authored Dec 5, 2024
1 parent 2622207 commit 5e194bb
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/sync_to_bitbucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,20 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.BITBUCKET_SSH_PRIVATE_KEY }}
with:
source-repo: git@github.com:WinterPu/PyUnrealBuildSystem.git
destination-repo: ssh://git@git.agoralab.co/aduc/pyunrealbuildsystem.git
destination-repo: ssh://git@git.agoralab.co/aduc/pyunrealbuildsystem.git

- name: Clone target repository
run: |
git clone ssh://git@git.agoralab.co/aduc/pyunrealbuildsystem.git target-repo
cd target-repo
git submodule init
git submodule update --recursive
- name: Update Submodule URL
run: |
cd target-repo
git submodule set-url Config ssh://git@git.agoralab.co/aduc/agoraunrealbuildconfigrepo.git
git submodule update --remote Config
git add .
git commit -m "Update Config submodule URL to agoralab repository" || echo "No changes to commit"
git push origin main

0 comments on commit 5e194bb

Please sign in to comment.