nix-infra/ops/home/push

12 lines
254 B
Plaintext
Raw Normal View History

#!/usr/bin/env nix-shell
#! nix-shell -p morph -i bash
set -e
pushd $(dirname ${BASH_SOURCE[0]}) > /dev/null
morph build --keep-result $@ ./network.nix
morph push $@ ./network.nix
morph deploy --upload-secrets $@ ./network.nix switch
popd > /dev/null