update
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 1m25s

This commit is contained in:
A'zamov Samandar
2025-11-05 18:23:36 +05:00
parent 0fe40f78d1
commit 3ea6b388a0
3 changed files with 3 additions and 12 deletions

View File

@@ -89,15 +89,6 @@ jobs:
cd $DIR
git fetch origin main
git reset --hard origin/main
cp .env.example .env
update_env() {
local env_file=".env"
cp .env.example "$env_file"
for kv in "$@"; do
local key="${kv%%=*}"
local value="${kv#*=}"
sed -i "s|^$key=.*|$key=$value|" "$env_file"
done
}
export PORT=${{ vars.PORT }}
docker stack deploy -c stack.yaml ${{ env.PROJECT_NAME }}