Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
gitee同步
  • Loading branch information
Ai-trainee authored May 21, 2024
1 parent 28e14e0 commit 2d1f448
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync with Gitee

on:
schedule:
- cron: '0 0 * * *' # 每天午夜(UTC时间)运行

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Sync with Gitee
run: |
git remote add gitee https://AItrainee:a8655383c91d497cebf620b16b1da580@gitee.com/AItrainee/Traffic-Sign-Recognition-PyQt5-YOLOv5-GUI.git
git push --force gitee main

0 comments on commit 2d1f448

Please sign in to comment.