2024-05-29 13:42:18 +02:00
|
|
|
APPS=$@
|
|
|
|
|
|
|
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
2024-05-29 15:05:39 +02:00
|
|
|
APPS=$(ls -d */)
|
2024-05-29 13:42:18 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
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
|