Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

What is GitHub Actions for Azure

Feedback

In this article

GitHub Actions helps you automate your software development workflows from within GitHub. You can deploy workflows in the same place where you store code and collaborate on pull requests and issues.

In GitHub Actions, aworkflow is an automated process that you set up in your GitHub repository. You can build, test, package, release, or deploy any project on GitHub with a workflow.

Each workflow is made up of individualactions that run after a specific event (like a pull request) occur. The individual actions are packaged scripts that automate software development tasks.

With GitHub Actions for Azure, you can create workflows that you can set up in your repository to build, test, package, release, and deploy to Azure. GitHub Actions for Azure supports Azure services, including Azure App Service, Azure Functions, and Azure Key Vault.

GitHub Actions also include support for utilities, including Azure Resource Manager templates, Azure CLI, and Azure Policy.

Watch this video from GitHub Universe 2020 to learn more about continuous delivery with GitHub Actions.

Why should I use GitHub Actions for Azure

Microsoft developed GitHub Actions for Azure and designed them be used with Azure. You can see all of the GitHub Actions for Azure in theGitHub Marketplace. SeeFinding and customizing actions to learn more about incorporating actions into your workflows.

What is the difference between GitHub Actions and Azure Pipelines

Azure Pipelines and GitHub Actions both help you automate software development workflows.Learn more about how the services differ and how to migrate from Azure Pipelines to GitHub Actions.

What do I need to use GitHub Actions for Azure

You'll need Azure and GitHub accounts:

How do I connect GitHub Actions and Azure

Depending on the action, you can use service principal or publish profile to connect to Azure from GitHub. You'll use a service principal each time you use theAzure login action. When you use a service principal you can use OpenID Connect or a secret.

TheAzure App Service action supports using a publish profile or service principal. SeeApplication and service principal objects in Microsoft Entra ID to learn more about service principals.

You can use the Azure login action in combination with both theAzure CLI and AzureAzure PowerShell actions. The Azure login action also works with most other GitHub actions for Azure includingdeploying to web apps. You can also use Azure login with community-contributed actions likeEnhanced Azure key vault that aren't officially supported by Microsoft.

What is included in a GitHub Actions workflow

Workflows are made up of one or more jobs. Within a job, there are steps made up of individual actions. SeeIntroduction to GitHub Actions to learn more about GitHub Actions concepts.

Where can I see complete workflow examples

TheAzure starter action workflows repository includes end-to-end workflows to build and deploy Web apps of any language, any ecosystem to Azure.

Where can I see all the available actions

Visit theMarketplace for GitHub Actions for Azure to see all the available GitHub Actions for Azure.


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?