From 001c4e1bd942aca7be60527e292888fa932132f0 Mon Sep 17 00:00:00 2001 From: S SASIKUMAR <162121972+sasi2312@users.noreply.github.com> Date: Wed, 5 Jun 2024 14:47:31 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4143b2a..cbb9c27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,7 @@ jobs: TAG_ENV_COMMIT: ${{ needs.set_vars.outputs.TAG_ENV_COMMIT }} SUPABASE_URL: ${{ vars[format('APP_{0}_SUPABASE_URL', needs.set_vars.outputs.APP_ENV)] }} SUPABASE_KEY: ${{ secrets[format('APP_{0}_SUPABASE_KEY', needs.set_vars.outputs.APP_ENV)] }} + SECRET_KEY: ${{ secrets[format('APP_{0}_SECRET_KEY', needs.set_vars.outputs.APP_ENV)] }} steps: - name: Checkout code uses: actions/checkout@v2 @@ -85,6 +86,7 @@ jobs: run: | echo "SUPABASE_URL=${SUPABASE_URL}" >> .env echo "SUPABASE_KEY=${SUPABASE_KEY}" >> .env + echo "SECRET_KEY=${SECRET_KEY}" >> .env mv .env ${{ env.DOT_ENV_FILE_NAME }} - name: Copy env file to DEV Server @@ -141,4 +143,4 @@ jobs: - name: Deploy to Prod environment if: github.ref == 'refs/heads/main' - run: echo "Deploying to Kubernetes" \ No newline at end of file + run: echo "Deploying to Kubernetes"