forked from AgoraIO/API-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 803 Bytes
/
gitee-sync.yml
File metadata and controls
29 lines (27 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: gitee-sync
on:
pull_request:
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: xgfd3/hub-mirror-action@v1.4
with:
src: github/AgoraIO
dst: gitee/agoraio-community
white_list: "API-Examples"
static_list: "API-Examples"
cache_path: "./cache"
dst_key: ${{ secrets.GITEE_PI_SSH }}
dst_token: ${{ secrets.GITEE_PRIVATE_TOKEN }}
force_update: true
account_type: org
shell_path: ./.github/workflows/gitee-sync-shell.sh
github_ref: ${{ github.ref }}