From 9db65fd019b4ccfbaf6459dd05d25810f2b148b4 Mon Sep 17 00:00:00 2001 From: KAMI Date: Thu, 6 Oct 2022 09:42:22 +0200 Subject: [PATCH] Fixes for auto playlist update --- .github/workflows/update_playlist.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_playlist.yml b/.github/workflows/update_playlist.yml index c56e3ff..ba21fec 100644 --- a/.github/workflows/update_playlist.yml +++ b/.github/workflows/update_playlist.yml @@ -13,8 +13,9 @@ jobs: - uses: actions/checkout@v2 - name: Update playlist run: | - git config user.name "PlaylistBot" - git config user.email "playlistbot@users.noreply.github.com" + git config user.name "PlaylistBot" || true + git config user.email "playlistbot@users.noreply.github.com" || true + python3 ./make_playlist.py git add . git commit --quiet -m "Update Playlist (GitHub Actions)" - git push -f origin automate-1 + git push -f origin master