ci: run ci-run from initial setup
This commit is contained in:
parent
b76f06f48c
commit
15bbe1ed3b
6
ci
6
ci
@ -9,7 +9,7 @@ set -eux
|
||||
NAME="CI"
|
||||
|
||||
if ! tmux ls | grep -q "^${NAME}:"; then
|
||||
tmux -2 new-session -d -s ${NAME}
|
||||
tmux -2 new-session -d -s ${NAME} "./ci run"
|
||||
fi
|
||||
|
||||
tmux -2 attach-session -t $NAME
|
||||
@ -32,8 +32,4 @@ if [ "$CMD" = "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
|
||||
echo 'running "./ci run"'
|
||||
tmux select-window -t "${NAME}:0"
|
||||
tmux send-keys -t "${NAME}:0" "./ci run" ENTER
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user