deploy-rs

This commit is contained in:
Aleksandr Lebedev 2025-08-11 18:56:54 +02:00
parent 3b2e7a9d02
commit b09bddc403

View file

@ -40,10 +40,12 @@ writeShellScriptBin "deploy-rs-online" ''
fi
# Run nix flake check first
echo "Running nix flake check on $FLAKE_PATH..."
if ! nix flake check "$FLAKE_PATH"; then
echo "$RED Flake check failed! Aborting deployment. $NC"
exit 1
if ! $SKIP_CHECKS_SET; then
echo "Running nix flake check on $FLAKE_PATH..."
if ! nix flake check "$FLAKE_PATH"; then
echo "$RED Flake check failed! Aborting deployment. $NC"
exit 1
fi
fi
# Get node names