Rename main.yml to auto-update.yml
This commit is contained in:
committed by
GitHub
parent
41cf6fe16b
commit
d8e6f5bdf7
20
.github/workflows/auto-update.yml
vendored
Normal file
20
.github/workflows/auto-update.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user