Skip to content

Update CI scripts

Update CI scripts #278

name: Sync to BitBucket
on:
push:
branches:
- 'dev/**'
- 'exp/**'
jobs:
sync:
if: ${{ github.repository_owner == 'Hendrix-Shen' }}
runs-on: ubuntu-latest
steps:
- name: Checkout the sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync to BitBucket
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: git@bitbucket.org:hendrix-shen/magiclib.git
ssh_private_key: ${{ secrets.BITBUCKET_SSH_PRIVATE_KEY }}