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