Skip to content

Commit

Permalink
feat:Add gitee-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seymourtang committed Nov 21, 2024
1 parent 24e810e commit 4326f25
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/gitee-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: gitee-sync
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
build:
name: gitee-sync
runs-on: ubuntu-latest

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
if: github.actor != 'dependabot[bot]'
steps:
- name: Gitee sync repo
uses: Yikun/hub-mirror-action@v1.4
with:
src: github/AgoraIO-Community
dst: gitee/agoraio-community
white_list: "agora-rest-client-java"
static_list: "agora-rest-client-java"
cache_path: "./cache"
dst_key: ${{ secrets.GITEE_PI_SSH }}
dst_token: ${{ secrets.GITEE_PRIVATE_TOKEN }}
force_update: true
account_type: org

0 comments on commit 4326f25

Please sign in to comment.