From 1c77a471e546522c814ceef61742f811d671d1a2 Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 26 May 2023 22:35:14 +0200 Subject: [PATCH] make update a cron job --- .forgejo/workflows/plex_update.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/plex_update.yml b/.forgejo/workflows/plex_update.yml index 89644c5..2da5b55 100644 --- a/.forgejo/workflows/plex_update.yml +++ b/.forgejo/workflows/plex_update.yml @@ -1,7 +1,11 @@ name: Plex Update -on: [push] + +on: + schedule: + - cron: '0 0 * * *' + jobs: - native-test: + update: runs-on: native steps: - uses: actions/checkout@v3 @@ -22,4 +26,3 @@ jobs: git commit -m "Update Plex" git push origin main fi -