From e08fa8a92d3fbf0542babc7cea3fcb6dbc0f5ab7 Mon Sep 17 00:00:00 2001 From: seaerchin <44049504+seaerchin@users.noreply.github.com> Date: Mon, 8 Jan 2024 17:01:55 +0800 Subject: [PATCH] fix(ci): reverts ci changes to allow staging updates (#1084) --- .github/workflows/ci.yml | 3 ++- .github/workflows/deploy_staging.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe53e3868..d53c39024 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,8 @@ jobs: import os ref = os.environ['GITHUB_REF'] prod = os.environ['PRODUCTION_BRANCH'] - if ref == prod: + staging = os.environ['STAGING_BRANCH'] + if ref == prod or ref == staging: print('::set-output name=proceed::true') else: print('::set-output name=proceed::false') diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index 0372cccbf..d7d7423a5 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -7,7 +7,8 @@ concurrency: on: push: branches: - - staging + # TODO: Update this to allow `staging` once ecs deploys work + # - staging - feat/ecs jobs: