server_config/deploy.sh

15 lines
261 B
Bash
Raw Normal View History

APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then
APPS=$(ls -d */)
fi
2024-05-30 12:29:24 +02:00
for app in $APPS
do
echo "[server_config] > Deploying: $app"
source "./$app/_deploy.sh" \
&& echo "[server_config] > Deploy done" \
|| echo "[server_config] > Deploy failed"
done