|
|
@ -1,8 +1,6 @@
|
|
|
|
name: clean
|
|
|
|
name: clean
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
|
|
|
|
- cron: '0 6 * * 0'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
@ -187,7 +185,7 @@ jobs:
|
|
|
|
git diff-index --quiet HEAD || git commit -m "[Bot] Update ${{ matrix.country }}.m3u"
|
|
|
|
git diff-index --quiet HEAD || git commit -m "[Bot] Update ${{ matrix.country }}.m3u"
|
|
|
|
- name: Pull Remote
|
|
|
|
- name: Pull Remote
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
git config pull.rebase false
|
|
|
|
git config pull.ff only
|
|
|
|
git pull origin bot/patch-1 --allow-unrelated-histories
|
|
|
|
git pull origin bot/patch-1 --allow-unrelated-histories
|
|
|
|
- name: Push Changes
|
|
|
|
- name: Push Changes
|
|
|
|
uses: ad-m/github-push-action@master
|
|
|
|
uses: ad-m/github-push-action@master
|
|
|
|