Skip to content

Commit

Permalink
change secrets to vars
Browse files Browse the repository at this point in the history
  • Loading branch information
PyaePhyoKanto authored Nov 11, 2024
1 parent 7acd116 commit d4a3661
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Run docker-compose
uses: hoverkraft-tech/[email protected]
env:
POSTGRES_DB: "django_db"
POSTGRES_USER: "django_user"
POSTGRES_PASSWORD: "django_pass"

POSTGRES_DB: ${{ vars.POSTGRES_DB }}
POSTGRES_USER: ${{ vars.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ vars.POSTGRES_PASSWORD }}
- name: Execute tests in the running services
run: |
docker compose exec web pytest
Expand Down

0 comments on commit d4a3661

Please sign in to comment.