Merge pull request 'behruz' (#102) from behruz into main
Some checks failed
Deploy to Production / build-and-deploy (push) Failing after 2m6s

Reviewed-on: #102
This commit is contained in:
2026-04-24 13:32:26 +00:00

View File

@@ -132,18 +132,17 @@ jobs:
git fetch origin main
git reset --hard origin/main
cat > .env << 'ENVEOF'
DB_HOST=postgres
DB_NAME=sifatbahodb
DB_PORT=5432
DB_USER=${{ secrets.DB_USER }}
DB_PASSWORD=${{ secrets.DB_PASSWORD }}
REDIS_URL=redis://redis:6379
SECRET_KEY=${{ secrets.SECRET_KEY }}
DIDOX_TOKEN=${{ secrets.DIDOX_TOKEN }}
DEBUG=False
PORT=8085
ENVEOF
printf '%s\n' \
'DB_HOST=postgres' \
'DB_NAME=sifatbahodb' \
'DB_PORT=5432' \
'DB_USER=${{ secrets.DB_USER }}' \
'DB_PASSWORD=${{ secrets.DB_PASSWORD }}' \
'REDIS_URL=redis://redis:6379' \
'SECRET_KEY=${{ secrets.SECRET_KEY }}' \
'DIDOX_TOKEN=${{ secrets.DIDOX_TOKEN }}' \
'DEBUG=False' \
'PORT=8085' \
> .env
docker stack deploy -c stack.yaml ${{ env.PROJECT_NAME }} --with-registry-auth