Skip to content

build(deps): bump actions/add-to-project from 1.0.1 to 1.0.2 (#4603) #1038

build(deps): bump actions/add-to-project from 1.0.1 to 1.0.2 (#4603)

build(deps): bump actions/add-to-project from 1.0.1 to 1.0.2 (#4603) #1038

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:
branches:
- master
- develop
jobs:
gitHub-to-bitbucket:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: SSH Agent
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}
- name: Git Sync
uses: wei/git-sync@v3.0.0
with:
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}
source_repo: "https://github.com/GameServerManagers/LinuxGSM"
source_branch: "refs/heads/*"
destination_repo: "git@bitbucket.org:GameServerManagers/linuxgsm.git"
destination_branch: "refs/heads/*"