Skip to content

Merge branch 'main' of https://github.com/GameServerManagers/Game-Ser… #144

Merge branch 'main' of https://github.com/GameServerManagers/Game-Ser…

Merge branch 'main' of https://github.com/GameServerManagers/Game-Ser… #144

Workflow file for this run

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
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: webfactory/ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}
- name: repo-sync
uses: wei/[email protected]
with:
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}
source_repo: "https://github.com/GameServerManagers/Game-Server-Configs"
source_branch: "master"
destination_repo: "[email protected]:GameServerManagers/game-server-configs.git"
destination_branch: "master"