From 5aefc0130b93c02328eca9b41cb6e529739261b7 Mon Sep 17 00:00:00 2001 From: Prakash Choudhary <34452139+prakashchoudhary07@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:57:24 +0530 Subject: [PATCH] chore: fix environment --- .github/workflows/production.yaml | 2 +- .github/workflows/staging.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index de47ef1..b7d269a 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -6,7 +6,7 @@ on: jobs: Deploy-to-Cloudflare: runs-on: ubuntu-latest - environment: staging + environment: ${{ vars.CURRENT_ENVIRONMENT }} steps: - uses: actions/checkout@v3 - run: npm install diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index 2475f13..4186b2d 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -6,7 +6,7 @@ on: jobs: Deploy-to-Cloudflare: runs-on: ubuntu-latest - environment: staging + environment: ${{ vars.CURRENT_ENVIRONMENT }} steps: - uses: actions/checkout@v3 - run: npm install