From d4a3661e304ec92a870d13bd1c7372c952106e12 Mon Sep 17 00:00:00 2001 From: PyaePhyoKanto <146707315+PyaePhyoKanto@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:59:35 +0900 Subject: [PATCH] change secrets to vars --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b39a94a..b5ed017 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,10 +12,10 @@ jobs: - name: Run docker-compose uses: hoverkraft-tech/compose-action@v2.0.1 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