Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions workflow for .NET Core Azure deployment #16

Merged
merged 6 commits into from
Sep 4, 2024

Conversation

madebygps
Copy link
Collaborator

Added a new GitHub Actions workflow configuration in the azureprojectgenerator.yml file to automate the build and deployment of a .NET Core application to an Azure Function App. The workflow triggers on push events to the generatesmallerprojects branch and includes environment variable setup, build, and deploy jobs. The build job handles dependency restoration, project build, and artifact upload, while the deploy job manages the deployment to Azure.

Added a new GitHub Actions workflow configuration in the
`azureprojectgenerator.yml` file to automate the build and
deployment of a .NET Core application to an Azure Function App.
The workflow triggers on push events to the `generatesmallerprojects`
branch and includes environment variable setup, build, and deploy
jobs. The build job handles dependency restoration, project build,
and artifact upload, while the deploy job manages the deployment
to Azure.
@madebygps
Copy link
Collaborator Author

yaml is targeting wrong version of dotnet

- Updated `Program.cs` to use `ConfigureFunctionsWebApplication` instead of `ConfigureFunctionsWorkerDefaults`.
- Added ARM templates: `appInsights1.arm.json` for Application Insights and `storage1.arm.json` for Storage Account.
- Updated `serviceDependencies.azureprojectgenerator.json` to include resource IDs and connection strings for the new resources.
- Updated `serviceDependencies.json` to include connection IDs for the new resources.
- Upgraded `Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore` in `azure-project-generator.csproj` from version `1.2.1` to `1.3.2`.
- Removed an unnecessary empty line in the constructor of `ContentGenerationService.cs`.
@madebygps madebygps merged commit b96b1ef into main Sep 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant