-
Notifications
You must be signed in to change notification settings - Fork 0
/
RPA-Deploy.yml
25 lines (25 loc) · 1022 Bytes
/
RPA-Deploy.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
##Inputs
# parameters.deploymentEnvironment dev
# parameters.orchestratorConnection 'UiPath - rpawebdev101'
# parameters.refName 'refs/heads/develop'
# parameters.orchestratorFolder DEVELOPER SUPPLIED
# parameters.dependsOn ['build']
stages:
- stage: ${{ parameters.deploymentEnvironment }}
dependsOn: ${{ parameters.dependsOn }}
condition: and(succeeded(), eq(variables['Build.SourceBranch'], '${{ parameters.refName }}'))
pool:
name: PROD-Release
jobs:
- deployment: ${{ parameters.deploymentEnvironment }}
environment: rpa-${{ parameters.deploymentEnvironment }}
strategy:
runOnce:
deploy:
steps:
- task: UiPathDeploy@2
displayName: "UiPath Deploy"
inputs:
packagesPath: '$(Pipeline.Workspace)/drop/Output'
orchestratorConnection: '${{ parameters.orchestratorConnection }}'
folderName: '${{ parameters.orchestratorFolder }}'