From 631701d17d89495ec760bf881a69d1856d6e4da9 Mon Sep 17 00:00:00 2001 From: develop202 Date: Thu, 15 Jan 2026 18:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push_docker.yaml | 6 +++--- .github/workflows/updateBydszb.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/updateBydszb.yml diff --git a/.github/workflows/push_docker.yaml b/.github/workflows/push_docker.yaml index 3102cb3..7f1d434 100644 --- a/.github/workflows/push_docker.yaml +++ b/.github/workflows/push_docker.yaml @@ -1,8 +1,8 @@ name: push_docker on: - push: - branches: - - main + # push: + # branches: + # - main workflow_dispatch: jobs: docker: diff --git a/.github/workflows/updateBydszb.yml b/.github/workflows/updateBydszb.yml new file mode 100644 index 0000000..833f2b3 --- /dev/null +++ b/.github/workflows/updateBydszb.yml @@ -0,0 +1,29 @@ +name: updateBydszb +on: + workflow_dispatch: + # push: + schedule: + - cron: 30 */6 * * * +jobs: + run: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: 检出 + uses: actions/checkout@v4 + - name: 测试网络 + run: curl http://ds.fengcaizb.com/channels/dszb3.gz --output zb3 + - name: 更新内容 + run: | + # cp migu_video/interface.txt . + # cp migu_video/playback.xml . + # rm -rf migu_video + - name: 推送 + run: | + # 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 commit -m "Update by GitHub Actions" + # git push + # fi