Move checks out of deploy.sh

This commit is contained in:
asonix 2024-01-31 00:05:45 -06:00
parent 452f909805
commit dc6e3692cc
2 changed files with 5 additions and 1 deletions

4
check.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export LOCAL_KEY=/etc/nix/cache-priv-key.pem
sudo nix run github:serokell/deploy-rs -- --dry-activate "${@:1}"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
export LOCAL_KEY=/etc/nix/cache-priv-key.pem
sudo nix run github:serokell/deploy-rs "${@:1}"
sudo nix run github:serokell/deploy-rs -- --skip-checks "${@:1}"