Merge branch 'release/v23.7.0' into develop #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github to Bitbucket Sync | |
# 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: | |
branches: | |
- master | |
- develop | |
jobs: | |
gitHub-to-bitbucket: | |
runs-on: ubuntu-latest | |
steps: | |
- name: SSH Agent | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }} | |
- name: Git Sync | |
uses: wei/[email protected] | |
with: | |
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }} | |
source_repo: "https://github.com/GameServerManagers/LinuxGSM" | |
source_branch: "refs/heads/*" | |
destination_repo: "[email protected]:GameServerManagers/linuxgsm.git" | |
destination_branch: "refs/heads/*" |