deployerbot: git push on success
This commit is contained in:
parent
70bbe69aa3
commit
3ce427193d
|
@ -83,7 +83,7 @@
|
||||||
--targets ${deployDerivationsStr} -- \
|
--targets ${deployDerivationsStr} -- \
|
||||||
--accept-flake-config || EXITCODE=1
|
--accept-flake-config || EXITCODE=1
|
||||||
|
|
||||||
if [[ $EXITCODE != 0 ]]; then
|
if [[ $EXITCODE == 0 ]]; then
|
||||||
git push origin main
|
git push origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue