Skip to content

Commit

Permalink
Add repo-mirror-high.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yikun authored Aug 16, 2023
1 parent 71c3967 commit b27f08b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/repo-mirror-high.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ascend Gitee repos mirror 2 hours job

on:
pull_request:
paths:
- '.github/workflows/**'
# Runs at every pull requests submitted in master branch
branches: [ master ]
schedule:
# Runs at 01:00 UTC (9:00 AM Beijing) every day
- cron: '0 */2 * * *'

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Mirror the gitee/ascend org repos to github/ascend.
uses: Yikun/[email protected]
with:
src: gitee/ascend
dst: github/Ascend
dst_key: ${{ secrets.SYNC_ASCEND_PRIVATE_KEY }}
dst_token: ${{ secrets.SYNC_ASCEND_TOKEN }}
account_type: org
clone_style: ssh
force_update: true
debug: true
static_list: "pytorch"

0 comments on commit b27f08b

Please sign in to comment.