sub domain deploy for branches 22
All checks were successful
Deploy App / build (push) Successful in 18s
Deploy App / deploy (push) Successful in 19s

This commit is contained in:
valere
2026-02-02 21:21:00 +01:00
parent 8e78511738
commit 98e6213fa1
2 changed files with 3 additions and 5 deletions

View File

@@ -26,7 +26,9 @@ if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then
sed -i "s|${GITHUB_REPOSITORY##*/}|$APP_NAME|g" docker-compose.yml
fi
APP_DIR="/var/docker-web/apps/$APP_NAME"
changeEnvVar "DOMAIN" $DOMAIN
changeEnvVar "APP_NAME" $APP_NAME
changeEnvVar "PORT" $PORT
changeEnvVar "APP_DIR" "/var/docker-web/apps/$APP_NAME"
changeEnvVar "APP_DIR" $APP_DIR