From b088681526fb44ce8868baea47a71f834045b03d Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:58:51 +0800 Subject: [PATCH] Delete .github/workflows/main.yml --- .github/workflows/main.yml | 43 -------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index a3ba2c2..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: 网络收集 - -on: - schedule: - - cron: '35 3 */12 * *' # 这里更改自动运行的时间#_ud - workflow_dispatch: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.x - - - name: Upgrade pip and install dependencies - run: | - pip install --upgrade pip - pip install selenium requests ffmpeg futures eventlet opencv-python Beautifulsoup4 translate termcolor func_timeout replace input opencc pypinyin pytz tqdm - - name: Run iptv - run: python ${{ github.workspace }}/py/网络收集.py - - # 提交和推送的步骤,不再检查文件是否发生变化# - - name: Commit and push changes - run: | - git config --local user.email "actions@126.com" - git config --local user.name "GitHub Action" - git add . - # 即使没有文件改变,也会提交一个空的提交 - git commit --allow-empty -m "Scheduled workflow run" - git pull --rebase - git push -f - - - -