mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 12:28:53 -04:00
Create generate.yml
This commit is contained in:
1 parent
19bd1ba296
commit
bb5eccd9b9
1 file changed
+29
@@ -0,0 +1,29 @@
|
|||||||
|
name: Generate grouped playlists
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
generate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: "git checkout master"
|
||||||
|
run: git checkout master
|
||||||
|
|
||||||
|
- name: "npm install"
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: "npm run generate"
|
||||||
|
run: npm run generate
|
||||||
|
|
||||||
|
- name: Commit all changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v2.0.0
|
||||||
|
with:
|
||||||
|
commit_author_email: free.arhey@gmail.com
|
||||||
|
commit_author_name: Arhey
|
||||||
|
commit_message: Generated grouped playlists
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in new issue
Block a user