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:16:30 +00:00
parent deb4b4af93
commit 94d6693a92

View File

@@ -15,5 +15,9 @@ jobs:
BRANCH_NAME=$GITHUB_REF_NAME
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
fi
set -a && source .env
env | sort
echo $DOMAIN