forked from liao3841054/chimera_flutter_code_push
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Gitee repos mirror periodic job | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/**' | ||
# Runs at every pull requests submitted in master branch | ||
branches: [ main ] | ||
schedule: | ||
# Runs at 01:00 UTC (9:00 AM Beijing) every day | ||
- cron: '0 */10 * * * ?' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Mirror the Github organization repos to Gitee. | ||
uses: Yikun/hub-mirror-action@master | ||
with: | ||
src: github/waytoon | ||
dst: gitee/457636876 | ||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | ||
dst_token: ${{ secrets.GITEE_TOKEN }} | ||
account_type: org | ||
timeout: 600 | ||
debug: true | ||
force_update: true | ||
white_list: "chimera_flutter_code_push" |