From 03440e1dd117986ad8e22b2b6c9729930f6a092c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 29 Apr 2025 23:22:18 -0400 Subject: [PATCH] deploy (#627) ## Description: ## Please complete the following: - [ ] I have added screenshots for all UI updates - [ ] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [ ] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: 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 cebcc9bff..64fd06a55 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -79,8 +79,8 @@ jobs: CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }} DOCKER_REPO: ${{ vars.DOCKERHUB_REPO }} DOCKER_USERNAME: ${{ vars.DOCKERHUB_USERNAME }} - DOMAIN: ${{ inputs.target_domain }} - ENV: staging + DOMAIN: ${{ inputs.target_domain || 'openfront.dev' }} + ENV: ${{ inputs.target_domain == 'openfront.io' && 'prod' || 'staging' }} HOST: ${{ github.event_name == 'workflow_dispatch' && inputs.target_host || 'staging' }} MON_PASSWORD: ${{ secrets.MON_PASSWORD }} MON_USERNAME: ${{ secrets.MON_USERNAME }}