File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ concurrency:
1313
1414jobs :
1515 call-shared :
16- uses : trustification/exhort-integration-tests/.github/workflows/integration.yml@main
17- with :
18- language : javascript
19- repo-url : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
20- commit-sha : ${{ github.event.pull_request.head.sha || github.sha }}
16+ - uses : trustification/exhort-integration-tests/.github/workflows/integration.yml@main
17+ with :
18+ language : javascript
19+ repo-url : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
20+ commit-sha : ${{ github.event.pull_request.head.sha || github.sha }}
21+ env :
22+ EXHORT_BACKEND_URL : https://exhort.stage.devshift.net
Original file line number Diff line number Diff line change @@ -102,7 +102,12 @@ function selectExhortBackend(opts = {}) {
102102 readAndPrintVersionFromPackageJson ( ) ;
103103 }
104104
105- const result = getCustom ( 'EXHORT_BACKEND_URL' , undefined , opts ) ;
105+ let url ;
106+ if ( getCustom ( 'EXHORT_DEV_MODE' , false , opts ) ) {
107+ url = 'https://exhort.stage.devshift.net' ;
108+ } else {
109+ url = getCustom ( 'EXHORT_BACKEND_URL' , undefined , opts ) ;
110+ }
106111
107112 if ( ! result ) {
108113 throw new Error ( `EXHORT_BACKEND_URL is unset` )
You can’t perform that action at this time.
0 commit comments