You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iptv/.github/workflows/main.yml

39 lines
885 B
YAML

6 years ago
name: Generate grouped playlists
on:
push:
branches:
- master
6 years ago
paths:
- 'channels/*'
6 years ago
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
6 years ago
- name: "npm install"
run: npm install
6 years ago
- name: "npm run generate"
run: npm run generate
6 years ago
6 years ago
- name: "git add"
6 years ago
run: git add .
6 years ago
- 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"
6 years ago
run: git commit -m "Generated grouped playlists"
6 years ago
- name: "git remote set-url origin"
6 years ago
run: git remote set-url origin https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
6 years ago
6 years ago
- name: "git push origin master"
6 years ago
run: git push origin master --force