From a3212f653640a5b06754163b784137e4372f34b5 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sat, 1 Nov 2025 12:14:07 -0300 Subject: [PATCH] hotfix: fixes deploy environment --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b15cd19..48a0716 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -80,7 +80,7 @@ jobs: deploy: needs: [docker] runs-on: ubuntu-latest - if: github.event_name == 'push' && (github.ref == 'refs/heads/main') + environment: ${{ github.ref_name == 'main' && 'production' || 'development' }} steps: - uses: actions/checkout@v4