diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 612269462..e8ce0c706 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: deploy: if: ${{ github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'staging') }} runs-on: blacksmith-2vcpu-ubuntu-2404 - environment: ${{ github.event.workflow_run.head_branch == 'main' && 'production' || 'staging' }} + environment: ${{ github.event.workflow_run.head_branch == 'main' && 'production' || github.event.workflow_run.head_branch == 'staging' && 'staging' || '' }} steps: - name: Checkout code