diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000000000000000000000000000000000000..1c7b5a119f3448c86e0f6ca619774ca00943d2d5 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,17 @@ +name: 'GitHub Actions Mirror' + +on: [push, delete] + +jobs: + mirror_to_gitlab: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v1 + - name: 'Mirror to CODE CHINA' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@codechina.csdn.net:xiongjiamu/jupyter-101.git + ssh_private_key: + ${{ secrets.CODECHINA }} \ No newline at end of file