From 7b428bc559757689088290253a3a9de533641635 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sun, 29 Jan 2023 08:57:24 -0700 Subject: [PATCH] ci: only send run if we have started up --- ci | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci b/ci index da87bbc..c6c6a96 100755 --- a/ci +++ b/ci @@ -13,7 +13,6 @@ else tmux -2 new-session -d ${SESS} fi -tmux send "./ci run" ENTER tmux -2 attach-session -t "$NAME" trap ci_error INT TERM @@ -34,4 +33,6 @@ if [ "$1" = "run" ]; then git checkout -b "${ci_branch}" || handle_co_fail nix flake update --commit-lock-file || handle_update_fail nix flake check || handle_check_fail +else + tmux send "./ci run" ENTER fi