-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (33 loc) · 909 Bytes
/
Copy pathaction.yml
File metadata and controls
33 lines (33 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Deploy to Azure Button
author: wilfriedwoivre
description: Add deploy to Azure button to markdown file
branding:
icon: 'award'
color: 'blue'
inputs:
markdownPath:
description: 'Path to markdown file to edit'
required: false
default: 'README.md'
templatePath:
description: 'Path for ARM Template file'
required: false
default: 'azuredeploy.json'
branchName:
description: 'Target branch name for deployment'
required: false
default: 'main'
targetAzureUrl:
description: 'Target Azure url for deployment'
required: false
default: 'https://portal.azure.com/#create/Microsoft.Template/uri/'
outputs:
fileUpdated:
description: 'Boolean if file is updated'
runs:
using: 'docker'
image: 'Dockerfile'
env:
markdownPath: ${{ inputs.markdownPath }}
templatePath: ${{ inputs.templatePath }}
branchName: ${{ inputs.branchName }}