mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
Update auto-update.yml
This commit is contained in:
parent
9464fed11b
commit
3f94db60aa
1 changed files with 1 additions and 19 deletions
20
.github/workflows/auto-update.yml
vendored
20
.github/workflows/auto-update.yml
vendored
|
@ -1,26 +1,8 @@
|
||||||
name: auto-update
|
name: auto-update
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
update-guide:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: npm install
|
|
||||||
- name: Format Playlists
|
|
||||||
run: node scripts/format.js
|
|
||||||
- name: Commit Changes
|
|
||||||
run: |
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
git add .
|
|
||||||
git diff-index --quiet HEAD || git commit -m "[Bot] Format playlists"
|
|
||||||
git push
|
|
||||||
update-readme:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue