Skip to content

Commit

Permalink
use https for mirror_gitee; do not run on forks (deepmodeling#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Sep 13, 2021
1 parent 823cb14 commit 76bc05c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mirror_gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ concurrency:

jobs:
git-mirror:
if: github.repository_owner == 'deepmodeling'
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }}
with:
source-repo: "git@github.com:deepmodeling/deepmd-kit.git"
source-repo: "https://github.com/deepmodeling/deepmd-kit.git"
destination-repo: "[email protected]:deepmodeling/deepmd-kit.git"

0 comments on commit 76bc05c

Please sign in to comment.