From fa1bad4755636d2c67d43c239252c54124ac3892 Mon Sep 17 00:00:00 2001 From: ipstreet312 <60736167+ipstreet312@users.noreply.github.com> Date: Fri, 10 Jan 2025 00:53:53 +0100 Subject: [PATCH] Create nowtur1.yml --- .github/workflows/nowtur1.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/nowtur1.yml diff --git a/.github/workflows/nowtur1.yml b/.github/workflows/nowtur1.yml new file mode 100644 index 00000000000..cb775b21d7e --- /dev/null +++ b/.github/workflows/nowtur1.yml @@ -0,0 +1,33 @@ +name: nowtur1 action + +on: + schedule: + - cron: '03 */3 * * *' + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 + + - name: config + run: | + git config --global user.email "<>" + git config --global user.name "nowtur1 bot" + + - name: updating nowtur + run: python3 ressources/tur/nowtur1.py > ressources/tur/nowtur1.m3u8 + + - name: git add + run: | + git add -A + ls -la + + - name: commit & push + run: | + git pull origin master + git commit -m "nowtur1 updated" + git push origin master