Skip to content

Commit

Permalink
Update syncToGitee.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbobman authored Mar 19, 2022
1 parent 50f01a1 commit 8c4c460
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/syncToGitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ name: sync2gitee
on:
push:
schedule:
# 每天北京时间9点跑
- cron: '0 1 * * *'
# UTC 17:00 -> CST (China) 1:00 see https://datetime360.com/cn/utc-cst-china-time/
- cron: '1 17 * * *'

jobs:
build:
run:
name: Sync GitHub to Gitee
runs-on: ubuntu-latest
steps:
Expand All @@ -28,10 +28,10 @@ jobs:
- name: Mirror the GitHub repos to Gitee
uses: Yikun/[email protected]
with:
src: github/SwiftUIOverlayContainer
dst: gitee/SwiftUIOverlayContainer
src: github/fatbobman
dst: gitee/fatbobman
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
timeout: 600
static_list: '${{ steps.info.outputs.result }}'
account_type: user
force_update: true

0 comments on commit 8c4c460

Please sign in to comment.