Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 6154a04

Browse files
authored
Add build props in the Samples and Templates (#3424)
1 parent 928bc8e commit 6154a04

File tree

4 files changed

+48
-0
lines changed
  • templates/typescript
    • generator-bot-virtualassistant/generators
    • samples

4 files changed

+48
-0
lines changed

templates/typescript/generator-bot-virtualassistant/generators/app/templates/sample-assistant/deployment/resources/template.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,18 @@
277277
{
278278
"name": "MicrosoftAppPassword",
279279
"value": "[parameters('microsoftAppPassword')]"
280+
},
281+
{
282+
"name": "SCM_DO_BUILD_DURING_DEPLOYMENT",
283+
"value": true
284+
},
285+
{
286+
"name": "WEBSITE_NODE_DEFAULT_VERSION",
287+
"value": "12.15.0"
288+
},
289+
{
290+
"name": "NODE_PATH",
291+
"value": "D:/home/site/wwwroot/node_modules"
280292
}
281293
]
282294
}

templates/typescript/generator-bot-virtualassistant/generators/skill/templates/sample-skill/deployment/resources/template.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,18 @@
227227
{
228228
"name": "MicrosoftAppPassword",
229229
"value": "[parameters('microsoftAppPassword')]"
230+
},
231+
{
232+
"name": "SCM_DO_BUILD_DURING_DEPLOYMENT",
233+
"value": true
234+
},
235+
{
236+
"name": "WEBSITE_NODE_DEFAULT_VERSION",
237+
"value": "12.15.0"
238+
},
239+
{
240+
"name": "NODE_PATH",
241+
"value": "D:/home/site/wwwroot/node_modules"
230242
}
231243
]
232244
}

templates/typescript/samples/sample-assistant/deployment/resources/template.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,18 @@
277277
{
278278
"name": "MicrosoftAppPassword",
279279
"value": "[parameters('microsoftAppPassword')]"
280+
},
281+
{
282+
"name": "SCM_DO_BUILD_DURING_DEPLOYMENT",
283+
"value": true
284+
},
285+
{
286+
"name": "WEBSITE_NODE_DEFAULT_VERSION",
287+
"value": "12.15.0"
288+
},
289+
{
290+
"name": "NODE_PATH",
291+
"value": "D:/home/site/wwwroot/node_modules"
280292
}
281293
]
282294
}

templates/typescript/samples/sample-skill/deployment/resources/template.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,18 @@
227227
{
228228
"name": "MicrosoftAppPassword",
229229
"value": "[parameters('microsoftAppPassword')]"
230+
},
231+
{
232+
"name": "SCM_DO_BUILD_DURING_DEPLOYMENT",
233+
"value": true
234+
},
235+
{
236+
"name": "WEBSITE_NODE_DEFAULT_VERSION",
237+
"value": "12.15.0"
238+
},
239+
{
240+
"name": "NODE_PATH",
241+
"value": "D:/home/site/wwwroot/node_modules"
230242
}
231243
]
232244
}

0 commit comments

Comments
 (0)