Update .github/workflows/deploy.yml
All checks were successful
Deploy App / build (push) Successful in 10s

This commit is contained in:
2026-02-02 10:37:50 +00:00
parent d88e984b7f
commit ca0799dc59

View File

@@ -17,7 +17,7 @@ jobs:
APP_DIR="/var/docker-web/apps/$REPO_NAME"
if [ "$BRANCH_NAME" != "main" ] && [ "$BRANCH_NAME" != "master" ]; then
sed -i "s/DOMAIN=.*/DOMAIN=$DOMAIN.$BRANCH_NAME/" .env
sed -i "s/DOMAIN=.*/DOMAIN=$BRANCH_NAME.$DOMAIN/" .env
fi
set -a && source .env && set +a
echo $DOMAIN