iptv/.github/workflows/main.yml

39 lines
916 B
YAML
Raw Normal View History

2019-08-27 20:32:08 +02:00
name: Generate grouped playlists
on:
push:
branches:
- master
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2019-08-27 20:34:45 +02:00
- name: "npm install"
run: npm install
2019-08-27 20:32:08 +02:00
- name: "npm run generate"
run: npm run generate
2019-08-27 20:48:57 +02:00
2019-08-27 20:59:58 +02:00
- name: "git add"
2019-08-27 20:48:57 +02:00
run: git add .
2019-08-27 20:59:58 +02:00
- name: "git config user.name"
run: git config user.name freearhey
- name: "git config user.email"
run: git config user.email free.arhey@gmail.com
- name: "git commit -m"
2019-08-27 20:48:57 +02:00
run: git commit -m "Generated grouped playlists"
2019-08-27 21:21:53 +02:00
- name: Create Pull Request
uses: peter-evans/create-pull-request@v1.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
PULL_REQUEST_TITLE: Generated grouped playlists
PULL_REQUEST_BODY: This is an auto-generated PR