diff --git a/.github/workflows/IP采集.yml备 b/.github/workflows/IP采集.yml备 deleted file mode 100644 index b3dc968..0000000 --- a/.github/workflows/IP采集.yml备 +++ /dev/null @@ -1,54 +0,0 @@ - -name: 组播ip采集 - -on: - schedule: - - cron: '1 */12 * * *' #这里更改自动运行的时间,没这两行的话只能手动运行 - workflow_dispatch: - 分支: - - main - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: 3.x - - - name: Install dependencies - run: pip install selenium requests futures eventlet - - name: Install dependencies - run: pip install opencv-python requests - - name: Install dependencies - run: pip install Beautifulsoup4 requests - - name: Install dependencies - run: pip install translate requests - - name: Install dependencies - run: pip install ffmpy - - name: Install dependencies - run: pip install termcolor - - name: Install dependencies - run: pip install func_timeout - - name: Install dependencies - run: pip install replace - - - - name: Run iptv - run: python ${{ github.workspace }}/组播py/#采集.py - - name: Commit results - run: | - git config --local user.email "actions@github.com" - git config --local user.name "GitHub Action" - if [ -n "$(git status --porcelain)" ]; then - git add *.txt #*.m3u - git commit -m "Automatic update" - git push - else - echo "No changes detected, skipping commit." - fi