Skip to content

Commit

Permalink
Add creation of database step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CihatAltiparmak authored Dec 14, 2023
1 parent 727c152 commit b5fb7e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Create new database
run: psql -U postgres -c 'CREATE DATABASE e_hayvan_test_database;'
- name: Set Environment Variables
run: |
echo "EHAYVAN_SPRING_DATASOURCE_URL=${{ secrets.EHAYVAN_SPRING_DATASOURCE_URL }}" >> $GITHUB_ENV
Expand Down

0 comments on commit b5fb7e1

Please sign in to comment.