Skip to content

Commit

Permalink
ci(sync): fix sync to Gitee action (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
zj9495 authored Sep 7, 2021
1 parent 1a4da44 commit c23f955
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
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 }}
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_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 c23f955

Please sign in to comment.