mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
pipeline file changes
This commit is contained in:
parent
455301090d
commit
48e61bdcf1
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue