Help developers to easily get started with GitHub Action workflows to deploy to Azure
GitHub Actions for Azure help you easily create workflows to build, test, package, release and deploy to Azure, following a push or pull request.
You use Azure starter templates present in this repo to easily create GitHub CI/CD workflows targeting Azure, to deploy your apps created with popular languages and frameworks such as .NET, Node.js, Java, PHP, Ruby or Python, in containers or running on any operating system.
Folder Structure: These workflow samples to automate your deployment workflows targeting various Azure services are organized under folders of same names. For example:
/AzureCLI Samples to run Azure CLI scripts to provision and manage Azure resources from a GitHub Action workflow
/AzurePipelines Samples to trigger a CD run in Azure Pipelines from a GitHub Action workflow
/AzurePolicy Samples to trigger on-demand Azure Policy compliance scans from a GitHub Action workflow
Naming Notation: *
os-ecosystem-ServiceName-on-azure: example, linux-container-functionapp-on-azure.yml * OS in the name is optional if the action workflow sample is OS agnostic and doesnt significantly change between OS (Linux/Windows) * Ecosystem can be a language (.NET, Nodejs, java, Python, Ruby etc.) or Docker/Container Or Database flavours like SQL/MySQL etc.
* Include 'name' for every workflow to indicate the purpose of the workflow
* Ensure that starter workflows run on: push by default.
* For all secrets to be defined in the workflow, use UPPERCASE with underscore delimiters instead of snakecase or camelCase. * Include a commented Configuration section which includes hyperlinks to documentation for the Actions used and other pre-reqs. * Define environment variables as part of configuration. We think this will help provide visibility into the things that need to be configured as part of te workflow. * Ensure all Azure actions referenced in the workflow are pointing to a released version of the action and not from the master. For list of all released GitHub actions for Azure, please refer to https://github.com/Azure/actions
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.