14 lines
446 B
Bash
Executable file
14 lines
446 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
cd $SCRIPT_DIR
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
HOSTNAME=$(hostname)
|
|
|
|
[ "${NO_REBUILD}" == "" ] && ./scripts/rebuild.sh "$@"
|
|
[ "${HOSTNAME}" != "hetzner-arm" ] && ./scripts/deploy/hetzner-arm.sh "$@"
|
|
[ "${HOSTNAME}" != "vault" ] && ./scripts/deploy/vault.sh "$@"
|
|
[ "${HOSTNAME}" != "raspberry" ] && ./scripts/deploy/raspberry.sh "$@" |