ci: only send run if we have started up
This commit is contained in:
parent
45aa1c7699
commit
7b428bc559
3
ci
3
ci
@ -13,7 +13,6 @@ else
|
|||||||
tmux -2 new-session -d ${SESS}
|
tmux -2 new-session -d ${SESS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux send "./ci run" ENTER
|
|
||||||
tmux -2 attach-session -t "$NAME"
|
tmux -2 attach-session -t "$NAME"
|
||||||
|
|
||||||
trap ci_error INT TERM
|
trap ci_error INT TERM
|
||||||
@ -34,4 +33,6 @@ if [ "$1" = "run" ]; then
|
|||||||
git checkout -b "${ci_branch}" || handle_co_fail
|
git checkout -b "${ci_branch}" || handle_co_fail
|
||||||
nix flake update --commit-lock-file || handle_update_fail
|
nix flake update --commit-lock-file || handle_update_fail
|
||||||
nix flake check || handle_check_fail
|
nix flake check || handle_check_fail
|
||||||
|
else
|
||||||
|
tmux send "./ci run" ENTER
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user