Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed Mar 19, 2021
1 parent 986bbd6 commit 5095ef5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gitee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

name: Auto Sync
on: [push,create,delete]
jobs:
mirror_to_gitee:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Mirror to gitee'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
${{ secrets.GITEE_URL }}
ssh_private_key:
${{ secrets.GITEE_KEY }}

0 comments on commit 5095ef5

Please sign in to comment.