From ef2b1fe972d0c0e04b2f5a576d812a550de28df7 Mon Sep 17 00:00:00 2001 From: Gerald Iakobinyi-Pich Date: Fri, 26 Jul 2024 11:36:12 +0300 Subject: [PATCH] feat: require approval for deploying UI code --- .github/workflows/release_and_deploy_production.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_and_deploy_production.yml b/.github/workflows/release_and_deploy_production.yml index 86c5652..47bddb8 100644 --- a/.github/workflows/release_and_deploy_production.yml +++ b/.github/workflows/release_and_deploy_production.yml @@ -60,8 +60,9 @@ jobs: secrets: inherit deploy-interface-to-staging: - name: Push code to branch + name: Push code to staging branch needs: [ref, create-draft-release] + environment: staging runs-on: ubuntu-latest steps: - id: push-to-branch @@ -85,6 +86,7 @@ jobs: name: Push code to branch needs: [ref, deploy-staging, deploy-interface-to-staging] runs-on: ubuntu-latest + environment: production steps: - id: push-to-branch uses: passportxyz/gh-workflows/.github/actions/push_to_branch@main