From 41cf6fe16b4ba6546760c19b9d258868bfd30cc0 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 13 Mar 2021 20:32:57 +0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..94ff9d12 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: auto-update +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' +jobs: + update-guide: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + - name: Install Dependencies + run: npm install + - name: Run EPG Grabber + run: ./run.sh + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.1.0 + with: + branch: gh-pages + folder: .gh-pages