Share via


GitHub Actions deployment to Azure in Visual Studio

GitHub Actions is the continuous integration and continuous delivery (CI/CD) solution offered by GitHub. You can host your code for free on GitHub.com and you can use GitHub Actions to automatically build, test, and deploy your application when code changes are made.

Visual Studio generates working GitHub Actions workflows for you

If your codebase is hosted on GitHub.com and your deployment target is an Azure hosting service that Visual Studio supports, you will automatically be offered to configure GitHub Actions for your repo.

Screenshot showing CI/CD publish option.

Visual Studio also simplifies the process by handling your application secrets for you.

Get started by right-clicking on your project in Solution Explorer and selecting Publish from the context menu. For a tutorial, see Deploy your application to Azure using GitHub Actions workflows created by Visual Studio.

How do I get my project on GitHub.com?

For more information, see Create a new Git repository.

See also

GitHub Actions and .NET