Skip to content

Commit

Permalink
enable run from package
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ligtenberg committed Feb 7, 2024
1 parent ca2a462 commit 366e838
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Deployment/api/parts/apiFunction.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ resource function 'Microsoft.Web/sites@2022-03-01' = {
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
value: 'DefaultEndpointsProtocol=https;AccountName=${functionStorageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${functionStorageAccount.listKeys().keys[0].value}'
}
{
name: 'WEBSITE_RUN_FROM_PACKAGE'
value: '1'
}
{
name: 'WEBSITE_ENABLE_SYNC_UPDATE_SITE'
value: 'true'
Expand Down
4 changes: 4 additions & 0 deletions Deployment/api/parts/testRunnerFunction.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ resource function 'Microsoft.Web/sites@2022-03-01' = {
name: 'FUNCTIONS_EXTENSION_VERSION'
value: '~4'
}
{
name: 'WEBSITE_RUN_FROM_PACKAGE'
value: '1'
}
{
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
value: 'DefaultEndpointsProtocol=https;AccountName=${functionStorageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${functionStorageAccount.listKeys().keys[0].value}'
Expand Down

0 comments on commit 366e838

Please sign in to comment.