Skip to content

Commit 522dd88

Browse files
Merge pull request #286 from IFRCGo/hotfix/WN-320
fix
2 parents e4b2720 + 12dfd18 commit 522dd88

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.env.qa

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SWAGGER_URL=https://preparemessages-stage.ifrc.org

.github/workflows/qa-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
username: ${{ secrets.REGISTRY_USERNAME }}
3535
password: ${{ secrets.REGISTRY_PASSWORD }}
3636
- run: |
37+
cp .env.qa .env
3738
docker build -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnow-qa:${{ github.sha }} -f ./docker/Dockerfile .
3839
docker tag ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnow-qa:${{ github.sha }} ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnow-qa:latest
3940

config/l5-swagger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,6 @@
234234
|--------------------------------------------------------------------------
235235
*/
236236
'constants' => [
237-
'L5_SWAGGER_CONST_HOST' => config('app.url'),
237+
'L5_SWAGGER_CONST_HOST' => env('SWAGGER_URL', null),
238238
],
239239
];

0 commit comments

Comments
 (0)