Merge pull request #2027 from tblanarik/tblanarik/fix-starter-workflow-branch
Corrects the syntax for `on: push: branches:` so that the array is inline
This commit is contained in:
@@ -21,8 +21,7 @@ name: Deploy container to Azure Functions App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -20,8 +20,7 @@ name: Deploy DotNet project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
env:
|
||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||
|
||||
@@ -20,8 +20,7 @@ name: Deploy Gradle Java project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -20,8 +20,7 @@ name: Deploy Java project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
env:
|
||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||
|
||||
@@ -22,8 +22,7 @@ name: Deploy Node.js project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
env:
|
||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||
|
||||
@@ -20,8 +20,7 @@ name: Deploy PowerShell project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
env:
|
||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||
|
||||
@@ -20,8 +20,7 @@ name: Deploy Python project to Azure Function App
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- [$default-branch]
|
||||
branches: [$default-branch]
|
||||
|
||||
env:
|
||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||
|
||||
Reference in New Issue
Block a user