yeah #1

Open
valere wants to merge 6 commits from yeah into main
Showing only changes of commit b59578eb1f - Show all commits

View File

@@ -16,7 +16,7 @@ jobs:
# Configuration pour les branches non-principales # Configuration pour les branches non-principales
if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then
sed -i "s/PORT=.*/PORT=$PORT+1/" .env sed -i "s/PORT=.*/PORT=$PORT+1/" .env
sed -i "s/DOMAIN=.*/DOMAIN=$BRANCH_NAME.$DOMAIN/" .env sed -i "s#DOMAIN=.*#DOMAIN=$BRANCH_NAME.$DOMAIN#" .env
#sed -i "s/container_name: evilspins/container_name: $BRANCH_NAME.$DOMAIN/" docker-compose.yml #sed -i "s/container_name: evilspins/container_name: $BRANCH_NAME.$DOMAIN/" docker-compose.yml
sed -i "s/REPO_NAME=.*/REPO_NAME=$BRANCH_NAME.$DOMAIN/" .env sed -i "s/REPO_NAME=.*/REPO_NAME=$BRANCH_NAME.$DOMAIN/" .env
fi fi