Update .github/workflows/deploy.yml
Some checks failed
Deploy App / build (push) Failing after 13s
Deploy App / deploy (push) Has been skipped

This commit is contained in:
2026-02-02 16:00:58 +00:00
parent 64b5b87567
commit b59578eb1f

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