diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 98327a9..ef7c60f 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -70,7 +70,7 @@ jobs: #PROD prod: - if: ${{ inputs.environment }} == 'prod' && github.event_name == 'workflow_dispatch' + if: github.ref_name == 'main' && github.event_name == 'workflow_dispatch' uses: ./.github/workflows/_deployment.yaml permissions: id-token: write