Github Actions
This commit is contained in:
parent
e8c092a351
commit
02b2f5cc01
1 changed files with 17 additions and 0 deletions
17
.github/workflows/mirror.yml
vendored
Normal file
17
.github/workflows/mirror.yml
vendored
Normal file
|
@ -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 }}
|
Loading…
Reference in a new issue