Update clean.yml

This commit is contained in:
freearhey 2021-05-06 19:38:39 +03:00
parent 5baa5451ea
commit 02d3ec96f1

View File

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