Skip to content

Sync from Gitee

Sync from Gitee #1

name: Sync from Gitee
on:
schedule:
- cron: '0 5 * * *' # UTC时区; 每天执行一次
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pull changes from Gitee
run: |
git remote add gitee https://gitee.com/we-mid/go.git
git fetch gitee
git merge gitee/main --allow-unrelated-histories
git push origin main