mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update auto-update.yml
This commit is contained in:
parent
ab112d303c
commit
f486affb57
1 changed files with 13 additions and 0 deletions
13
.github/workflows/auto-update.yml
vendored
13
.github/workflows/auto-update.yml
vendored
|
@ -4,8 +4,21 @@ on:
|
|||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
jobs:
|
||||
delete-branch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
- name: Delete Branch
|
||||
uses: dawidd6/action-delete-branch@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branches: 'bot/auto-update'
|
||||
create-branch:
|
||||
runs-on: ubuntu-latest
|
||||
needs: delete-branch
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue