Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…e_push into main
  • Loading branch information
Waytoon committed Mar 10, 2021
2 parents 35bdb3b + abfb87c commit ca60746
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/chimera-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Gitee repos mirror periodic job

on: push

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
static_list: "chimera_flutter_code_push"
#white_list: "chimera_flutter_code_push"
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Gitee repos mirror periodic job

on:
pull_request:
paths:
- '.github/workflows/**'
# Runs at every pull requests submitted in master branch
branches: [ main ]


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"

0 comments on commit ca60746

Please sign in to comment.