Skip to content

.github/workflows/pull-from-gitee.yml #3

.github/workflows/pull-from-gitee.yml

.github/workflows/pull-from-gitee.yml #3

name: Pull from Gitee
on:
schedule:
- cron: '0 0 * * *' # 每天午夜(UTC时间)运行
workflow_dispatch: # 添加手动触发事件
jobs:
pull:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Pull from Gitee
run: |
git remote add gitee https://gitee.com/Pridejoy/MalusAdmin.git
git fetch gitee master
git merge gitee/master
git push origin master