forked from rasmusbuchholdt/simply-web-deploy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
44 lines (44 loc) · 1.24 KB
/
action.yml
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
34
35
36
37
38
39
40
41
42
43
44
name: "SmarterASP.NET Web Deploy"
description: "Deploy projects directly to SmarterASP.NET IIS"
inputs:
website-name:
description: "IIS website name"
required: true
server-computer-name:
description: "IIS server computer name"
required: true
server-username:
description: "IIS server username"
required: true
server-password:
description: "IIS server password"
required: true
source-path:
description: "The source directory for payload"
required: false
default: '\publish\'
target-path:
description: "The target directory for payload"
required: false
default: '""'
target-delete:
description: "Delete files on the destination computer that do not exist on the source computer"
required: false
default: "false"
runs:
using: "composite"
steps:
- name: Deploy Application
shell: pwsh
run: >
${{ github.action_path }}/Scripts/Deploy-ApplicationPackage.ps1
${{ inputs.source-path }}
${{ inputs.target-path }}
${{ inputs.website-name }}
${{ inputs.server-computer-name }}
${{ inputs.server-username }}
${{ inputs.server-password }}
${{ inputs.target-delete }}
branding:
icon: "upload-cloud"
color: "blue"