mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 12:08:21 +08:00
Add: Github action for Gitee mirroring
This commit is contained in:
26
.github/workflow/gitee-mirror.yml
vendored
Normal file
26
.github/workflow/gitee-mirror.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
# UTC 21:00 -> CST (China) 5:00
|
||||
- cron: '0 21 * * *'
|
||||
|
||||
name: Gitee mirror
|
||||
|
||||
jobs:
|
||||
run:
|
||||
name: Gitee mirror
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Mirror the Github repos to Gitee.
|
||||
# https://github.com/Yikun/hub-mirror-action
|
||||
uses: Yikun/hub-mirror-action@master
|
||||
with:
|
||||
src: github/LmeSzinc
|
||||
dst: gitee/lmeszinc
|
||||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||
static_list: 'AzurLaneAutoScript'
|
||||
force_update: true
|
||||
timeout: '30m'
|
||||
Reference in New Issue
Block a user