diff --git a/.github/workflows/epg获取.yml备 b/.github/workflows/epg获取.yml备 deleted file mode 100644 index 55eded7..0000000 --- a/.github/workflows/epg获取.yml备 +++ /dev/null @@ -1,49 +0,0 @@ -name: epg获取 - -on: - schedule: - - cron: '10 * */2 * *' #这里更改自动运行的时间,没这两行的话只能手动运行 - 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 replace - - name: Install dependencies - run: pip install input - - name: Install dependencies - run: pip install pytz - - name: Install dependencies - run: pip install lxml - - - - - name: Run iptv - run: python ${{ github.workspace }}/组播py/get-epg.py #这里更改要运行的py - - - - - name: 提交更改 - run: | - git config --local user.email "actions@126.com" - git config --local user.name "GitHub Action" - git add . - git commit *.xml -m "Add generated file" - #git commit *.m3u -m "Add generated file" - #git pull --rebase - git push -f