From 6aa76532e39c7de96770b7a12e9f0864248018d9 Mon Sep 17 00:00:00 2001 From: guenchi <25831936+guenchi@users.noreply.github.com> Date: Thu, 20 Oct 2022 01:02:31 +0200 Subject: [PATCH] Create gitcode.yml --- .github/workflows/gitcode.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/gitcode.yml diff --git a/.github/workflows/gitcode.yml b/.github/workflows/gitcode.yml new file mode 100644 index 0000000..dae9da5 --- /dev/null +++ b/.github/workflows/gitcode.yml @@ -0,0 +1,17 @@ +name: 'GitHub Actions Mirror' + +on: [push, delete] + +jobs: + mirror_to_gitcode: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v1 + - name: 'Mirror to gitcode' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@gitcode.net:csdn/skill_tree_scheme.git + ssh_private_key: + ${{ secrets.GITCODE_KEY }} -- GitLab