deploy-rs
This commit is contained in:
parent
3b2e7a9d02
commit
b09bddc403
1 changed files with 6 additions and 4 deletions
|
|
@ -40,10 +40,12 @@ writeShellScriptBin "deploy-rs-online" ''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run nix flake check first
|
# Run nix flake check first
|
||||||
echo "Running nix flake check on $FLAKE_PATH..."
|
if ! $SKIP_CHECKS_SET; then
|
||||||
if ! nix flake check "$FLAKE_PATH"; then
|
echo "Running nix flake check on $FLAKE_PATH..."
|
||||||
echo "$RED Flake check failed! Aborting deployment. $NC"
|
if ! nix flake check "$FLAKE_PATH"; then
|
||||||
exit 1
|
echo "$RED Flake check failed! Aborting deployment. $NC"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get node names
|
# Get node names
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue