Add update playlist for unattended playlist update

pull/219/head
KAMI 2022-09-19 19:07:13 +02:00 committed by GitHub
parent 7c4b4df52e
commit ac52d5bfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Update playlist
on:
push:
branches: [ automate-1 ]
workflow_dispatch:
jobs:
update-plalist:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Update playlist
run: |
git config user.name "PlaylistBot"
git config user.email "playlistbot@users.noreply.github.com"
git add .
git commit --quiet -m "Update Playlist (GitHub Actions)"
git push -f origin automate-1