chore(deploy): remove dead deploy-role.sh
The script composes from roles/$ROLE/compose/docker-compose.yml, but no roles/ directory exists anywhere in the repo (recon B7) and nothing references the script. Dead since the roles concept was abandoned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
d8f65c3034
commit
e67868f5da
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
ROLE=$1
|
|
||||||
HOST=$2
|
|
||||||
|
|
||||||
if [ -z "$ROLE" ] || [ -z "$HOST" ]; then
|
|
||||||
echo "Usage:"
|
|
||||||
echo "./deploy-role.sh <role> <host>"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Deploying role: $ROLE to host: $HOST"
|
|
||||||
|
|
||||||
ssh $HOST "
|
|
||||||
mkdir -p ~/homelab-codex-ws &&
|
|
||||||
cd ~/homelab-codex-ws &&
|
|
||||||
git pull &&
|
|
||||||
docker compose -f roles/$ROLE/compose/docker-compose.yml up -d
|
|
||||||
"
|
|
||||||
Loading…
Reference in a new issue