Update Chinese channels (#414) #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update playlist | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
update-plalist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update playlist | |
run: | | |
git config user.name "PlaylistBot" || true | |
git config user.email "[email protected]" || true | |
python3 ./make_playlist.py | |
git add . | |
git commit --quiet -m "Update Playlist (GitHub Actions)" | |
git push -f origin master |