Merge pull request #1214 from gaotingyi/master #1713
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror to Gitee Repo | |
on: [ push, delete, create ] | |
# Ensures that only one mirror task will run at a time. | |
concurrency: | |
group: git-mirror | |
jobs: | |
git-mirror: | |
if: github.repository == 'deepmodeling/fealpy' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: wearerequired/git-mirror-action@v1 | |
env: | |
ORGANIZATION: deepmodeling | |
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }} | |
with: | |
source-repo: "https://github.com/deepmodeling/fealpy.git" | |
destination-repo: "[email protected]:deepmodeling/fealpy.git" |