diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4b0761d..94d4428 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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;"