Skip to content

Commit 2d1f448

Browse files
authored
Create main.yml
gitee同步
1 parent 28e14e0 commit 2d1f448

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync with Gitee
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # 每天午夜(UTC时间)运行
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v2
13+
14+
- name: Sync with Gitee
15+
run: |
16+
git remote add gitee https://AItrainee:[email protected]/AItrainee/Traffic-Sign-Recognition-PyQt5-YOLOv5-GUI.git
17+
git push --force gitee main

0 commit comments

Comments
 (0)