Skip to content

Commit

Permalink
ci(sync): add sync to Gitee action (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
zj9495 authored Sep 7, 2021
1 parent 69abd43 commit 1a4da44
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync To Gitee

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
with:
source-repo: "git@github.com:zj9495/transmission-client.git"
destination-repo: "git@gitee.com:zj9495/transmission-client.git"

0 comments on commit 1a4da44

Please sign in to comment.