From 96f10f1d026d0c01142a4c5918d32e32bff64eac 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 4c24bb4220..9b51b50d7c 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 a98cae1009e19a788e2b0c05a82cccdc5f8076ff 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 92a11e61df..9559c0f4ad 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 3ee49fcf4d52c4ff86df97e46cfd22203b7004e5 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 9559c0f4ad..92a11e61df 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 ff749352e00b82e91a1f248deb796793a90c0c49 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 9b51b50d7c..a0e5e678c0 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,24 +21,12 @@ 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 - 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 + commit_message: Formatted playlists env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 68b107f92cc588063a3df625a3ba17ea6f3e738f 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 92a11e61df..9559c0f4ad 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 19bd1ba296358788e3cab36721fcb72e5efaeb0f 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 9559c0f4ad..92a11e61df 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 bb5eccd9b917bf3f6c6564c3467eb9cd5c4cd785 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 0000000000..7581905cb0 --- /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 9c9a422ef966566603133e987f5e5cada43add7f 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