From 21be25f5f391141a73a4dce152c45bee81660ccb Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:35:34 +0800 Subject: [PATCH 1/8] Create main.yml --- .github/workflows/main.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c9bb7e2 --- /dev/null +++ b/.github/workflows/main.yml @@ -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" From 994e9515a75d9ac8ef7b877dc8ea519febd3a633 Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:37:52 +0800 Subject: [PATCH 2/8] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9bb7e2..d9560e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: branches: [ main ] schedule: # Runs at 01:00 UTC (9:00 AM Beijing) every day - - cron: '0 */10 * * * ?' + - cron: '0 6 * * *' jobs: build: From c47fe18cf13b093b26cb6d0c12bdaff4ffc5ff9e Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:41:00 +0800 Subject: [PATCH 3/8] Update main.yml change time --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9560e8..88e126c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,7 @@ on: - '.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 6 * * *' + jobs: build: From 27ce983031217ca1a11ac1d4a1503aa8e7d5a54e Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:44:30 +0800 Subject: [PATCH 4/8] Create chimera-main.yml --- .github/workflows/chimera-main.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/chimera-main.yml diff --git a/.github/workflows/chimera-main.yml b/.github/workflows/chimera-main.yml new file mode 100644 index 0000000..d932812 --- /dev/null +++ b/.github/workflows/chimera-main.yml @@ -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 1 * * *' + +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" From 02639e3b533532fa46e8f2a9caaf2576fc028343 Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:50:19 +0800 Subject: [PATCH 5/8] Update chimera-main.yml --- .github/workflows/chimera-main.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/chimera-main.yml b/.github/workflows/chimera-main.yml index d932812..b0b994a 100644 --- a/.github/workflows/chimera-main.yml +++ b/.github/workflows/chimera-main.yml @@ -1,14 +1,6 @@ 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 1 * * *' +on: push jobs: build: From 1ea44fd63309d6b0258269823233116980136173 Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:54:01 +0800 Subject: [PATCH 6/8] Update chimera-main.yml --- .github/workflows/chimera-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chimera-main.yml b/.github/workflows/chimera-main.yml index b0b994a..72bcb7c 100644 --- a/.github/workflows/chimera-main.yml +++ b/.github/workflows/chimera-main.yml @@ -12,7 +12,7 @@ jobs: - name: Mirror the Github organization repos to Gitee. uses: Yikun/hub-mirror-action@master with: - src: github/waytoon + src: github/Waytoon dst: gitee/457636876 dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} dst_token: ${{ secrets.GITEE_TOKEN }} From adca5052cf2a5ad57e2427d62c99655cf5c29955 Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:57:33 +0800 Subject: [PATCH 7/8] Update chimera-main.yml --- .github/workflows/chimera-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chimera-main.yml b/.github/workflows/chimera-main.yml index 72bcb7c..7a14a0a 100644 --- a/.github/workflows/chimera-main.yml +++ b/.github/workflows/chimera-main.yml @@ -16,7 +16,7 @@ jobs: dst: gitee/457636876 dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} dst_token: ${{ secrets.GITEE_TOKEN }} - account_type: org + #account_type: org timeout: 600 debug: true force_update: true From abfb87c24f4554a6b547cb26db4c126a21f78561 Mon Sep 17 00:00:00 2001 From: Waytoon <76606772+Waytoon@users.noreply.github.com> Date: Wed, 10 Mar 2021 15:01:16 +0800 Subject: [PATCH 8/8] Update chimera-main.yml --- .github/workflows/chimera-main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chimera-main.yml b/.github/workflows/chimera-main.yml index 7a14a0a..c4fcb28 100644 --- a/.github/workflows/chimera-main.yml +++ b/.github/workflows/chimera-main.yml @@ -20,4 +20,5 @@ jobs: timeout: 600 debug: true force_update: true - white_list: "chimera_flutter_code_push" + static_list: "chimera_flutter_code_push" + #white_list: "chimera_flutter_code_push"