Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MuuuShin authored Nov 8, 2023
1 parent 5a13f67 commit ed0cdbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
cache: maven

- name: Clean up PostgreSQL
env:
PGPASSWORD: ${{ secrets.DB_PASSWORD }}
run: |
psql -h localhost -U ${{ secrets.DB_USERNAME }} -d postgres -c "DROP DATABASE IF EXISTS cs309a;"
psql -h localhost -U ${{ secrets.DB_USERNAME }} -d postgres -c "CREATE DATABASE cs309a;"
Expand Down

0 comments on commit ed0cdbd

Please sign in to comment.