From the course: Azure Infrastructure as Code with GitHub
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Name your Actions
From the course: Azure Infrastructure as Code with GitHub
Name your Actions
- [Instructor] Every action that you use in a workflow gets its own name which is automatically generated based on whatever action you use. This you can see here, when we look at the logs of one of our workflows, we can see an action called PowerShell action. This isn't really descriptive of what it does. This is the action that creates the resource group. The other actions happen to be descriptive in this example, but if we add more PowerShell or Azure CLI actions, we might want to change the names of the action that is running and we can do that in the workflow file. So if we view the workflow file and then edit it, at every action, we can see the name of the action and we can change that action if you want to. So let's look at the action name at line 39 and change this into create the resource group. And we can commit this. And now when the action is running, we will see a step called deploy the research group instead…