fixed error cond 2

This commit is contained in:
Vivian 2023-05-26 22:29:31 +02:00
parent a369bb0ba2
commit ccbafb1638

View file

@ -18,10 +18,9 @@ jobs:
git add ./nixos/pkgs/plex-pass/ git add ./nixos/pkgs/plex-pass/
# Push if changed # Push if changed
git status ./nixos/pkgs/plex-pass/ | grep -q modified
if [ $? == 0 ]; then if git status ./nixos/pkgs/plex-pass/ | grep -q modified; then
git commit -m "Update Plex" git commit -m "Update Plex"
git push origin main git push origin main
fi fi
true