Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
新增:Actions
  • Loading branch information
tswwe authored Feb 22, 2022
1 parent f46aeab commit 4311780
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Mirror this repo to Gitee

on:
push:
branches: [ master ]
workflow_dispatch:

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Mirror a repository using SSH
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
with:
source-repo: "[email protected]:xkinput/xxxk.git"
destination-repo: "[email protected]:xkinput/xxxk.git"

0 comments on commit 4311780

Please sign in to comment.