mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-18 15:55:10 +08:00
更新频率改高
This commit is contained in:
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
@@ -3,7 +3,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# push:
|
# push:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 2 */2 * * *
|
- cron: 2 * * * *
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -23,8 +23,6 @@ jobs:
|
|||||||
- name: 推送
|
- name: 推送
|
||||||
run: |
|
run: |
|
||||||
if ! git diff --quiet --exit-code || [ -n "$(git status --porcelain)" ]; then
|
if ! git diff --quiet --exit-code || [ -n "$(git status --porcelain)" ]; then
|
||||||
git config user.name "GitHub Actions"
|
|
||||||
git config user.email "actions@github.com"
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update by GitHub Actions"
|
git commit -m "Update by GitHub Actions"
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user