Skip to content

Commit

Permalink
work pls thanx :d
Browse files Browse the repository at this point in the history
  • Loading branch information
Ng Jun Hao committed Nov 10, 2024
1 parent 069d225 commit 1767a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
- name: Push Docker images
run: |
docker-compose -f backend/docker-compose.yml build
docker-compose -f backend/docker-compose.yml push
- name: Deploy using Docker Compose
env:
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}
POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
run: |
docker-compose -f backend/docker-compose.yml up -d --remove-orphans
docker-compose -f backend/docker-compose.yml push

0 comments on commit 1767a54

Please sign in to comment.