Skip to content

Commit

Permalink
chore: fix workflow dispatch job
Browse files Browse the repository at this point in the history
  • Loading branch information
vicradon committed Aug 9, 2024
1 parent 6074359 commit 9f80e03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,4 @@ jobs:
cd ~/deployments/development
git reset --hard
git pull origin dev
bash ./scripts/map_envs.sh app.env POSTGRES_USER=USERNAME POSTGRES_DB=DB_NAME POSTGRES_PASSWORD=PASSWORD
docker compose down
docker compose -f docker-compose.yml up -d
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ services:
image: postgres:16
env_file:
- app.env
environment:
POSTGRES_DB: development_db
POSTGRES_PASSWORD: password
POSTGRES_USER: development_user
volumes:
- ../pgsql_volumes/golang_dev/:/var/lib/postgresql/data
healthcheck:
Expand Down

0 comments on commit 9f80e03

Please sign in to comment.