Update clean.yml

This commit is contained in:
freearhey 2021-05-06 19:38:39 +03:00
parent 5baa5451ea
commit 02d3ec96f1
1 changed files with 1 additions and 3 deletions

View File

@ -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