Create main.yml

This commit is contained in:
Aleksandr Statciuk 2021-03-13 20:32:57 +03:00 committed by GitHub
parent a12c28d4e6
commit 41cf6fe16b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/main.yml vendored Normal file
View file

@ -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