From fc05e956a9d31c360bc6475966790cc37a63bfb3 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:15:26 +0300 Subject: [PATCH 1/8] Update main.yml --- .github/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c24bb422..9b51b50d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,15 @@ jobs: - name: "npm run format" run: npm run format + + - 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: Formatted playlists + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "npm run generate" run: npm run generate @@ -30,6 +39,6 @@ jobs: with: commit_author_email: free.arhey@gmail.com commit_author_name: Arhey - commit_message: Generate grouped playlists + commit_message: Generated grouped playlists env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 1cdbb22584adb4dbbf4cc87d43ffee52272f1e52 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:16:07 +0300 Subject: [PATCH 2/8] Update af.m3u Test github action --- channels/af.m3u | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/af.m3u b/channels/af.m3u index 92a11e61d..9559c0f4a 100644 --- a/channels/af.m3u +++ b/channels/af.m3u @@ -47,5 +47,5 @@ rtmp://live.noorlive.com:1935/wesal/wesal1 http://173.208.166.179/zan_tv_live_456qwer586_stop_tyui123ikm159-fuck-off/tracks-v1a1/mono.m3u8 #EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/TwRnJmn.jpg" group-title="",Zarin TV https://5c21f7ec1999d.streamlock.net/8176/8176/playlist.m3u8 -#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV +#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV http://173.208.166.179/zhwandoon_tv_live-ca76ca2c8763_bastard-koni-dozd-lanati-kona-warkawa-c2df49a4/tracks-v1a1/mono.m3u8 From 8629f507054137b7498cc3c07262b2dcfc55a696 Mon Sep 17 00:00:00 2001 From: Arhey Date: Mon, 9 Sep 2019 13:17:06 +0000 Subject: [PATCH 3/8] Formatted playlists --- channels/af.m3u | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/af.m3u b/channels/af.m3u index 9559c0f4a..92a11e61d 100644 --- a/channels/af.m3u +++ b/channels/af.m3u @@ -47,5 +47,5 @@ rtmp://live.noorlive.com:1935/wesal/wesal1 http://173.208.166.179/zan_tv_live_456qwer586_stop_tyui123ikm159-fuck-off/tracks-v1a1/mono.m3u8 #EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/TwRnJmn.jpg" group-title="",Zarin TV https://5c21f7ec1999d.streamlock.net/8176/8176/playlist.m3u8 -#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV +#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV http://173.208.166.179/zhwandoon_tv_live-ca76ca2c8763_bastard-koni-dozd-lanati-kona-warkawa-c2df49a4/tracks-v1a1/mono.m3u8 From 66792132c927bd632485498d43a0bd328e04bd7c Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:26:02 +0300 Subject: [PATCH 4/8] Update main.yml --- .github/workflows/main.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b51b50d7..a0e5e678c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Generate grouped playlists +name: Format playlists on: push: @@ -21,7 +21,7 @@ jobs: - name: "npm run format" run: npm run format - + - name: Commit all changes uses: stefanzweifel/git-auto-commit-action@v2.0.0 with: @@ -30,15 +30,3 @@ jobs: commit_message: Formatted playlists env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - 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 }} From ae8940232d7541d11ed8205ddd90857214df1609 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:26:44 +0300 Subject: [PATCH 5/8] Update af.m3u Test github action --- channels/af.m3u | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/af.m3u b/channels/af.m3u index 92a11e61d..9559c0f4a 100644 --- a/channels/af.m3u +++ b/channels/af.m3u @@ -47,5 +47,5 @@ rtmp://live.noorlive.com:1935/wesal/wesal1 http://173.208.166.179/zan_tv_live_456qwer586_stop_tyui123ikm159-fuck-off/tracks-v1a1/mono.m3u8 #EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/TwRnJmn.jpg" group-title="",Zarin TV https://5c21f7ec1999d.streamlock.net/8176/8176/playlist.m3u8 -#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV +#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV http://173.208.166.179/zhwandoon_tv_live-ca76ca2c8763_bastard-koni-dozd-lanati-kona-warkawa-c2df49a4/tracks-v1a1/mono.m3u8 From 81202e1c2a881be121e74b5f15107e9724562b61 Mon Sep 17 00:00:00 2001 From: Arhey Date: Mon, 9 Sep 2019 13:27:57 +0000 Subject: [PATCH 6/8] Formatted playlists --- channels/af.m3u | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/af.m3u b/channels/af.m3u index 9559c0f4a..92a11e61d 100644 --- a/channels/af.m3u +++ b/channels/af.m3u @@ -47,5 +47,5 @@ rtmp://live.noorlive.com:1935/wesal/wesal1 http://173.208.166.179/zan_tv_live_456qwer586_stop_tyui123ikm159-fuck-off/tracks-v1a1/mono.m3u8 #EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/TwRnJmn.jpg" group-title="",Zarin TV https://5c21f7ec1999d.streamlock.net/8176/8176/playlist.m3u8 -#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV +#EXTINF:-1 tvg-id="" tvg-name="" tvg-logo="https://i.imgur.com/dl13q0r.jpg" group-title="",Zhwandoon TV http://173.208.166.179/zhwandoon_tv_live-ca76ca2c8763_bastard-koni-dozd-lanati-kona-warkawa-c2df49a4/tracks-v1a1/mono.m3u8 From 7e40bb1c08496f1146a250148649822dfcfee63c Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:38:39 +0300 Subject: [PATCH 7/8] Create generate.yml --- .github/workflows/generate.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/generate.yml diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml new file mode 100644 index 000000000..7581905cb --- /dev/null +++ b/.github/workflows/generate.yml @@ -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 }} From 9cca8e99939ae4294638ea14937a1b4e600d5fc1 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 9 Sep 2019 16:39:02 +0300 Subject: [PATCH 8/8] Rename main.yml to format.yml --- .github/workflows/{main.yml => format.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{main.yml => format.yml} (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/format.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/format.yml