sql #33

Open
valere wants to merge 34 commits from sql into master
Showing only changes of commit 7a9f4d369c - Show all commits

View File

@@ -7,7 +7,6 @@ set -a && source .env && set +a
# Variables GitHub
REPO_NAME="${GITHUB_REPOSITORY##*/}"
BRANCH_NAME=$GITHUB_REF_NAME
APP_DIR="/var/docker-web/apps/$REPO_NAME"
# Configuration pour les branches non-principales
if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then
@@ -16,6 +15,8 @@ if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then
REPO_NAME=$BRANCH_NAME.$DOMAIN
fi
APP_DIR="/var/docker-web/apps/$REPO_NAME"
# Recharge les variables après modification
set -a && source .env && set +a