2019-09-09 14:55:37 +02:00
|
|
|
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
|
2019-09-09 15:03:53 +02:00
|
|
|
|
|
|
|
- name: "npm run format"
|
|
|
|
run: npm run format
|
2019-09-09 15:15:26 +02:00
|
|
|
|
|
|
|
- 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: Formatted playlists
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2019-09-09 14:55:37 +02:00
|
|
|
|
|
|
|
- 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
|
2019-09-09 15:15:26 +02:00
|
|
|
commit_message: Generated grouped playlists
|
2019-09-09 14:55:37 +02:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|