From 33883484cf2a107dd10a37a087a869a71a9114a3 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Thu, 5 Dec 2024 11:06:57 -0500 Subject: [PATCH] More gh actions fixes (#1150) * copy .env file before production release * copy .env file into assets folder --- .github/workflows/release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c889f2b1d..35e006a24 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -193,6 +193,11 @@ jobs: with: name: web path: build/web + - name: Update Website files + run: | + touch .env + echo "$WEB_APP_ENV" >> .env + cp .env assets/.env - name: Set up AWS CLI uses: aws-actions/configure-aws-credentials@v4 with: