From 02b2f5cc01c3feca0ca90e69603bb02277ea6389 Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Wed, 17 Jun 2020 19:10:46 +0800 Subject: [PATCH] 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..9385afa --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,17 @@ +name: 'GitHub Actions Mirror' + +on: [push, delete] + +jobs: + mirror_to_gitee: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v1 + - name: 'Mirror to gitee' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@gitee.com:PyQt5/PyQt.git + ssh_private_key: + ${{ secrets.GIT_KEY }} \ No newline at end of file