From 71fe86d890441abd41c5f1d59f6d25703af5d09a Mon Sep 17 00:00:00 2001 From: Saqib Date: Tue, 15 Sep 2026 14:39:21 +0530 Subject: [PATCH] Revert "fix: run prod finalize/rollback in production-ops, without a second approval" This reverts commit 1348e396d81bd212a6bdfe2068bfda5ddf177bb9. --- .github/workflows/deploy-Dataspace.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-Dataspace.yml b/.github/workflows/deploy-Dataspace.yml index f90c4924..59e773d1 100644 --- a/.github/workflows/deploy-Dataspace.yml +++ b/.github/workflows/deploy-Dataspace.yml @@ -260,9 +260,7 @@ jobs: # vars.EC2_HOST is an environment-scoped variable, only visible to jobs # that declare `environment:` -- without it appleboy/ssh-action fails # with "missing server host". - # production-ops: same prod host/SSH secrets, no required reviewer, main-only. - # The human approval is on the deploy job; finalize/rollback must not wait. - environment: ${{ github.ref_name == 'main' && 'production-ops' || 'development' }} + environment: ${{ github.ref_name == 'main' && 'production' || 'development' }} steps: - name: Mark this release as last-known-good uses: appleboy/ssh-action@v1.0.3 @@ -283,9 +281,7 @@ jobs: runs-on: ubuntu-latest # Same environment-scoped vars.EC2_HOST issue as promote - see the # comment there. - # production-ops: same prod host/SSH secrets, no required reviewer, main-only. - # The human approval is on the deploy job; finalize/rollback must not wait. - environment: ${{ github.ref_name == 'main' && 'production-ops' || 'development' }} + environment: ${{ github.ref_name == 'main' && 'production' || 'development' }} steps: - name: Revert to last known-good release uses: appleboy/ssh-action@v1.0.3