fix deploy re-exec not forwarding command argument
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ git pull origin main
|
|||||||
# Re-exec so the running script reflects any changes just pulled
|
# Re-exec so the running script reflects any changes just pulled
|
||||||
if [ -z "${DEPLOY_REEXEC:-}" ]; then
|
if [ -z "${DEPLOY_REEXEC:-}" ]; then
|
||||||
export DEPLOY_REEXEC=1
|
export DEPLOY_REEXEC=1
|
||||||
exec /opt/hantim/scripts/deploy.sh
|
exec /opt/hantim/scripts/deploy.sh "$CMD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate .env from bws if this service declares .env.keys
|
# Generate .env from bws if this service declares .env.keys
|
||||||
|
|||||||
Reference in New Issue
Block a user