Skip to content

Commit

Permalink
Fix workflow to generate .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
usatie committed Oct 26, 2023
1 parent 3b7a157 commit e6a291e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Generate .env file
run: |
touch .env
echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" >> .env
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
echo "POSTGRES_DB=${{ secrets.POSTGRES_DB }}" >> .env
- name: Build images
run: docker compose build

Expand Down

0 comments on commit e6a291e

Please sign in to comment.