make update a cron job
This commit is contained in:
parent
3e85c1a14d
commit
1c77a471e5
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
||||||
name: Plex Update
|
name: Plex Update
|
||||||
on: [push]
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
native-test:
|
update:
|
||||||
runs-on: native
|
runs-on: native
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -22,4 +26,3 @@ jobs:
|
||||||
git commit -m "Update Plex"
|
git commit -m "Update Plex"
|
||||||
git push origin main
|
git push origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue