|
|
@@ -1,7 +1,12 @@
|
|
|
-name: Github to Bitbucket sync
|
|
|
+name: Backup Repo
|
|
|
# This action will sync the github repo with a backup bitbucket repo.
|
|
|
# This will allow LinuxGSM to use Bitbucket as and alternative download if github fails.
|
|
|
-on: push
|
|
|
+on:
|
|
|
+ push:
|
|
|
+ branches:
|
|
|
+ - master
|
|
|
+ - 'develop'
|
|
|
+ - 'feature/update-lgsm'
|
|
|
jobs:
|
|
|
repo-sync:
|
|
|
runs-on: ubuntu-latest
|
|
|
@@ -17,6 +22,6 @@ jobs:
|
|
|
with:
|
|
|
source_repo: "https://github.com/GameServerManagers/LinuxGSM"
|
|
|
source_branch: "refs/heads/*"
|
|
|
- destination_repo: "git@bitbucket.org:dgibbs64/linuxgsm.git"
|
|
|
+ destination_repo: "git@bitbucket.org:GameServerManagers/linuxgsm.git"
|
|
|
destination_branch: "refs/heads/*"
|
|
|
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}
|