Skip to content

Commit

Permalink
feat: set the build_env
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Sep 1, 2023
1 parent 975cd64 commit 9b21772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/strain_dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
"sha": "${{ github.sha }}",
"property_json_path": "DISTRO_EOX_NELP_DPKG.version",
"branch": "${{ github.ref_name }}",
"pull_request": ${{github.event}}
"build_environment": "${{ env.BUILD_ENVIRONMENT }}"
}
env:
ENVIRONMENT: ${{ github.event.pull_request.merged == true && 'prod' || 'stage' }}
BUILD_ENVIRONMENT: ${{ github.event.pull_request.merged == true && 'prod' || 'stage' }}

0 comments on commit 9b21772

Please sign in to comment.