fix grep
This commit is contained in:
parent
8968784751
commit
47471cfb3a
1 changed files with 1 additions and 5 deletions
|
@ -17,12 +17,8 @@ jobs:
|
|||
|
||||
git add ./nixos/pkgs/plex-pass/
|
||||
|
||||
git status
|
||||
|
||||
git diff
|
||||
|
||||
# Push if changed
|
||||
if git status ./nixos/pkgs/plex-pass/ | grep -q modified; then
|
||||
if git status ./nixos/pkgs/plex-pass/ | grep -q "to be committed"; then
|
||||
git commit -m "Update Plex"
|
||||
git push origin main
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue