File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ jobs:
122
122
directory : ${{ env.DOTNET_SRC_DIR }}
123
123
124
124
- name : Generate Open API
125
+ env :
126
+ DataSources__EmissionsDataSource : Json
127
+ DataSources__Configurations__Json__Type : JSON
125
128
run : dotnet tool run swagger tofile --output ./wwwroot/api/v1/swagger.yaml --yaml ${{ env.DLL_FILE_PATH }} v1
126
129
working-directory : ./src/CarbonAware.WebApi/src
127
130
@@ -144,7 +147,7 @@ jobs:
144
147
145
148
- name : Docker Run Container
146
149
run : |
147
- docker run -d --name runnable-container -p 8080:80 ca-api
150
+ docker run -d --name runnable-container -e DataSources__EmissionsDataSource=Json -e DataSources__Configurations__Json__Type=JSON - p 8080:80 ca-api
148
151
docker container ls
149
152
150
153
- name : Docker WGET Health Endpoint
@@ -244,4 +247,4 @@ jobs:
244
247
command : config
245
248
globs : |
246
249
./custom.markdownlint.jsonc
247
- {"*[^.github]/**,*"}.md
250
+ {"*[^.github]/**,*"}.md
You can’t perform that action at this time.
0 commit comments