mirror of https://github.com/TarsCloud/TarsCpp
Add: .github/workflows/gitee-sync.yml
parent
ee8df79bc7
commit
0d056a9454
|
@ -0,0 +1,27 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
name: Sync to Gitee
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
name: Run
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout source code
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
- name: Mirror Github to Gitee
|
||||||
|
uses: Yikun/hub-mirror-action@v1.2
|
||||||
|
with:
|
||||||
|
src: github/TarsCloud
|
||||||
|
dst: gitee/TarsCloud
|
||||||
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||||
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||||
|
account_type: org
|
||||||
|
timeout: 600
|
||||||
|
debug: true
|
||||||
|
force_update: true
|
||||||
|
static_list: "TarsCpp"
|
|
@ -1 +1 @@
|
||||||
Subproject commit 26283dffe67036fd3f65c1c724c387b903f253fa
|
Subproject commit 2680d729c7b1023267459d72242d17c4ca0c5770
|
Loading…
Reference in New Issue