测试网络

This commit is contained in:
develop202
2026-01-15 18:43:02 +08:00
parent 60611a9aaa
commit 631701d17d
2 changed files with 32 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
name: push_docker name: push_docker
on: on:
push: # push:
branches: # branches:
- main # - main
workflow_dispatch: workflow_dispatch:
jobs: jobs:
docker: docker:

29
.github/workflows/updateBydszb.yml vendored Normal file
View File

@@ -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