From 16a7be7d867cacda43a5f93a29b3ebe79e85c68c Mon Sep 17 00:00:00 2001 From: Aditya Jyoti Date: Tue, 24 Dec 2024 22:32:58 +0530 Subject: [PATCH] deploy: Test env vars --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 250ef4f..0600fb3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,8 +20,11 @@ jobs: - name: Create .env file run: | echo "${{ secrets.ENV }}" > .env + + - name: Debug .env file + run: cat .env - name: Build and run containers run: | docker-compose down - docker-compose up --build -d + docker-compose --env-file .env up --build -d