测试网络
This commit is contained in:
6
.github/workflows/push_docker.yaml
vendored
6
.github/workflows/push_docker.yaml
vendored
@@ -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
29
.github/workflows/updateBydszb.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user