diff --git a/.github/workflows/update_playlis.yml b/.github/workflows/update_playlis.yml new file mode 100644 index 0000000..10c2355 --- /dev/null +++ b/.github/workflows/update_playlis.yml @@ -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