Skip to content

Commit

Permalink
Create .env file in github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-nghiem-goldenowl committed Dec 10, 2023
1 parent 998f061 commit dd06ea0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
run: |
PGPASSWORD="postgres" createuser -U postgres -d django_template --superuser -h localhost
PGPASSWORD="postgres" createdb -U postgres -O django_template django_template -h localhost
- name: Create .env file
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- name: Migrate database
run: |
python manage.py migrate
Expand Down

0 comments on commit dd06ea0

Please sign in to comment.