From a6151220e2893fed3a5f896cab34f05c011c482b Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Sun, 13 Jul 2025 23:17:42 -0600 Subject: [PATCH] Add .env injection from ENV_FILE secret --- .github/workflows/production.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 0d26e32..0601224 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -28,6 +28,9 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: me-central-1 + - name: 🗂️ Write .env file from ENV_FILE Secret + run: echo "${{ secrets.ENV_FILE }}" > .env + - name: 📦 Install Dependencies run: npm install