Rename main.yml to auto-update.yml

This commit is contained in:
Aleksandr Statciuk
2021-03-13 20:33:15 +03:00
committed by GitHub
parent 41cf6fe16b
commit d8e6f5bdf7

20
.github/workflows/auto-update.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