From 95c15de2180d2ddd56c0ba2b4c42b502dc089140 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 21 May 2025 01:39:23 -0400 Subject: [PATCH] Fix deployment status environment (#833) ## Description: Fix the deployment status environment to match the new environment names. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors --------- Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com> --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d2210dbd..6f2d4d2de 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,7 +43,7 @@ jobs: # Use different logic based on event type name: Deploy to ${{ inputs.target_domain || 'openfront.dev' }} runs-on: ubuntu-latest - environment: ${{ inputs.target_domain == 'openfront.io' && 'prod' || 'staging' }} + environment: ${{ inputs.target_domain == 'openfront.io' && 'prod' || '' }} env: DOMAIN: ${{ inputs.target_domain || 'openfront.dev' }} SUBDOMAIN: ${{ github.event_name == 'push' && github.ref_name || inputs.target_subdomain || 'main' }} @@ -78,7 +78,7 @@ jobs: with: token: ${{ steps.generate-token.outputs.token }} environment-url: https://${{ env.FQDN }} - environment: ${{ env.FQDN }} + environment: ${{ inputs.target_domain == 'openfront.io' && 'prod' || 'staging' }} - name: 🔗 Log in to Docker Hub uses: docker/login-action@v3 with: