fix: remove debugging step that dumped POSTGRES_USER secret
All checks were successful
Build and Deploy Thoughts / build-and-deploy-local (push) Successful in 17s
All checks were successful
Build and Deploy Thoughts / build-and-deploy-local (push) Successful in 17s
This commit is contained in:
@@ -22,11 +22,6 @@ jobs:
|
||||
echo "AUTH_SECRET=${{ secrets.AUTH_SECRET }}" >> .env
|
||||
echo "NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}" >> .env
|
||||
|
||||
- name: Dump Secret for Debugging
|
||||
run: |
|
||||
echo "The POSTGRES_USER secret (Base64 encoded) is:"
|
||||
echo "${{ secrets.POSTGRES_USER }}" | base64
|
||||
|
||||
- name: Build Docker Images Manually
|
||||
run: |
|
||||
docker build --target runtime -t thoughts-backend:latest ./thoughts-backend
|
||||
@@ -35,7 +30,10 @@ jobs:
|
||||
|
||||
- name: Deploy with Docker Compose
|
||||
run: |
|
||||
# Use "up" without --build, as images are already built
|
||||
POSTGRES_USER=${{ secrets.POSTGRES_USER }} \
|
||||
POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }} \
|
||||
POSTGRES_DB=${{ secrets.POSTGRES_DB }} \
|
||||
AUTH_SECRET=${{ secrets.AUTH_SECRET }} \
|
||||
docker compose -f compose.prod.yml up -d
|
||||
|
||||
docker image prune -f
|
Reference in New Issue
Block a user