Skip to content

Commit

Permalink
update on deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chronis10 committed Jun 2, 2024
1 parent a328cd4 commit 0c2f64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" | sudo tee -a .env > /dev/null
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" | sudo tee -a .env > /dev/null
echo "POSTGRES_DB=${{ secrets.POSTGRES_DB }}" | sudo tee -a .env > /dev/null
echo "DATABASE=postgresql://\${{POSTGRES_USER}}:\${{POSTGRES_PASSWORD}}@db:5432/\${{POSTGRES_DB}}" | sudo tee -a .env > /dev/null
echo "DATABASE=postgresql://\${{secrets.POSTGRES_USER}}:\${{secrets.POSTGRES_PASSWORD}}@db:5432/\${{secrets.POSTGRES_DB}}" | sudo tee -a .env > /dev/null
sudo docker compose -f docker-compose-production.yml down
sudo docker compose -f docker-compose-production.yml build --no-cache
sudo docker compose -f docker-compose-production.yml up -d
Expand Down

0 comments on commit 0c2f64c

Please sign in to comment.