feat: make initializing pages first for all apps
This commit is contained in:
@@ -19,8 +19,13 @@ if [ -z "${DOMAIN}" ]; then
|
||||
fi
|
||||
|
||||
PLAUSIBLE_DIR="${APP_DIR}/${APP_NAME}"
|
||||
BOOTSTRAP_DIR="${APP_DIR}/.${APP_NAME}-bootstrap"
|
||||
|
||||
apt-get install -y caddy git openssl
|
||||
mkdir -p "${BOOTSTRAP_DIR}"
|
||||
source /var/excloud/scripts/caddy-setup.sh
|
||||
setup_initializing_page "$DOMAIN" "$APP_NAME" "$BOOTSTRAP_DIR"
|
||||
|
||||
apt-get install -y git openssl
|
||||
|
||||
if [ ! -d "${PLAUSIBLE_DIR}/.git" ]; then
|
||||
git clone -b "${REPO_REF}" --single-branch "${REPO_URL}" "${PLAUSIBLE_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user