From 9a294eecb52170d28834a612c42c5b6e5100746f Mon Sep 17 00:00:00 2001
From: Osinachi Chukwujama <Osinachi.Chukwujama@gmail.com>
Date: Sun, 11 Aug 2024 13:52:04 +0100
Subject: [PATCH] chore: add support for true string variables in dev and
 staging

---
 .github/workflows/dev-deploy.yml     | 4 +++-
 .github/workflows/staging-deploy.yml | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/dev-deploy.yml b/.github/workflows/dev-deploy.yml
index 04cc92a..0d36c27 100644
--- a/.github/workflows/dev-deploy.yml
+++ b/.github/workflows/dev-deploy.yml
@@ -44,10 +44,12 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v4
       - name: Create app.env file
-        uses: vicradon/create-env-action@v1.0.0
+        uses: vicradon/create-env-action@v1.0.1
         with:
           action_input_file: "app-sample.env"
           action_output_file: "app.env"
+          action_true_string_variables: |
+            MAIL_PASSWORD
           APP_NAME: "development"
           APP_URL: "https://deployment.api-golang.boilerplate.hng.tech"
           SERVER_PORT: ${{ secrets.SERVER_PORT }}
diff --git a/.github/workflows/staging-deploy.yml b/.github/workflows/staging-deploy.yml
index d4105f9..57640b5 100644
--- a/.github/workflows/staging-deploy.yml
+++ b/.github/workflows/staging-deploy.yml
@@ -44,10 +44,12 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v4
       - name: Create app.env file
-        uses: vicradon/create-env-action@v1.0.0
+        uses: vicradon/create-env-action@v1.0.1
         with:
           action_input_file: "app-sample.env"
           action_output_file: "app.env"
+          action_true_string_variables: |
+            MAIL_PASSWORD
           APP_NAME: "staging"
           APP_URL: "https://staging.api-golang.boilerplate.hng.tech"
           SERVER_PORT: ${{ secrets.SERVER_PORT }}