Create main.yml

This commit is contained in:
Aleksandr Statciuk 2019-09-09 15:55:37 +03:00 committed by GitHub
parent 43873713fe
commit 75ad7f58fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Generate grouped playlists
on:
push:
branches:
- master
paths:
- 'channels/*'
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "git checkout master"
run: git checkout master
- name: "npm install"
run: npm install
- name: "npm run generate"
run: npm run generate
- name: Commit all changes
uses: stefanzweifel/git-auto-commit-action@v2.0.0
with:
commit_author_email: free.arhey@gmail.com
commit_author_name: Arhey
commit_message: Generate grouped playlists
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}