diff --git a/.github/workflows/publish-data-generation-function.yaml b/.github/workflows/publish-data-generation-function.yaml index effcf2a..87c7978 100644 --- a/.github/workflows/publish-data-generation-function.yaml +++ b/.github/workflows/publish-data-generation-function.yaml @@ -24,7 +24,7 @@ jobs: shell: pwsh run: | pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}' - dotnet publishw --configuration Release --output ./output + dotnet publish --configuration Release --output ./output popd - name: 'Run Azure Functions Action' diff --git a/src/DataGeneratorFunction/DataGeneratorFunction.cs b/src/DataGeneratorFunction/DataGeneratorFunction.cs index d974931..fdc159f 100644 --- a/src/DataGeneratorFunction/DataGeneratorFunction.cs +++ b/src/DataGeneratorFunction/DataGeneratorFunction.cs @@ -15,7 +15,7 @@ public DataGeneratorFunction(ILoggerFactory loggerFactory) } [Function("DataGeneratorFunction")] - [EventHubOutput("dev-aquaplatform-ehn", Connection = "EventHubConnectionString")] + [EventHubOutput("dev-aquaplatform-eventhub", Connection = "EventHubConnectionString")] public string Run([TimerTrigger("*/1 * * * * *")] TimerInfo myTimer) { _logger.LogInformation($"C# Timer trigger function executed at: {DateTime.Now}");