improved script
Some checks failed
Plex Update / native-test (push) Failing after 8s

This commit is contained in:
Vivian 2023-05-26 22:26:33 +02:00
parent eb114b1110
commit 5392a98f3c
2 changed files with 11 additions and 151 deletions

View file

@ -11,8 +11,15 @@ jobs:
run: |
git config user.name "Forgejo Actions Bot"
git config user.email "<>"
./nixos/pkgs/plex-pass/update.sh
git add ./nixos/pkgs/plex-pass/
git commit -m "Update Plex"
git push origin actions-ci
# Run Update script
./nixos/pkgs/plex-pass/update.sh
git add ./nixos/pkgs/plex-pass/
# Push if changed
git status ./nixos/pkgs/plex-pass/ | grep -q modified
if [ $? == 0 ]; then
git commit -m "Update Plex"
git push origin main
fi