pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-23 14:57:40 +10:00
parent 455301090d
commit 48e61bdcf1
2 changed files with 8 additions and 2 deletions

View file

@ -12,6 +12,8 @@ parameters:
type: string type: string
- name: PublishFolder - name: PublishFolder
type: string type: string
- name: RepositoryFolder
type: string
stages: stages:
- stage: deploy${{parameters.DeploymentType}} - stage: deploy${{parameters.DeploymentType}}
@ -45,11 +47,13 @@ stages:
- checkout: MasterRepo - checkout: MasterRepo
- task: PowerShell@2 - task: PowerShell@2
displayName: Display DeploymentType displayName: Display Deployment Details (temp task)
inputs: inputs:
targetType: inline targetType: inline
script: | script: |
Write-Host ${{parameters.DeploymentType}} Write-Host "Deployment type: ${{parameters.DeploymentType}}"
Write-Host "Publish folder: ${{parameters.PublishFolder}}"
Write-Host "Repository folder: ${{parameters.RepositoryFolder}}"
pwsh: true pwsh: true
- template: azure-pipelines-clean-agent.yml@self - template: azure-pipelines-clean-agent.yml@self

View file

@ -44,6 +44,7 @@ stages:
DependsOn: build DependsOn: build
ApplicationName: $(ApplicationName) ApplicationName: $(ApplicationName)
PublishFolder: $(PublishFolder) PublishFolder: $(PublishFolder)
RepositoryFolder: $(RepositoryFolderBeta)
- template: azure-pipelines-deploy.yml@self - template: azure-pipelines-deploy.yml@self
parameters: parameters:
@ -51,3 +52,4 @@ stages:
DependsOn: Beta DependsOn: Beta
ApplicationName: $(ApplicationName) ApplicationName: $(ApplicationName)
PublishFolder: $(PublishFolder) PublishFolder: $(PublishFolder)
RepositoryFolder: $(RepositoryFolderProduction)