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
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue