From e428f022003f1819080eb99a15956c2225fbc06f Mon Sep 17 00:00:00 2001 From: Miykael_xxm Date: Fri, 10 Sep 2021 11:42:33 +0800 Subject: [PATCH] add github actions --- .github/workflows/mirror.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..1c7b5a1 --- /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 -- GitLab