Skip to content

Commit

Permalink
Merge pull request #2360 from SkillsFundingAgency/revert-zip-deploy-o…
Browse files Browse the repository at this point in the history
…n-webjobs

Revert zipdeploy for webjobs
  • Loading branch information
EwanNoble authored Aug 4, 2022
2 parents 94d7abc + 718e804 commit 643a2c1
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,11 @@ steps:
inputs:
solution: 'src/SFA.DAS.EmployerAccounts.Host/SFA.DAS.EmployerAccounts.Host.csproj'
vsVersion: 16.0
msbuildArgs: '/p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:SkipInvalidConfigurations=true /p:publishUrl="$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Host"'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)/publish"'
platform: 'anycpu'
configuration: 'release'
clean: true

- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerAccounts.Host'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Host'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Host.zip'

- task: VSBuild@1
displayName: 'Publish SFA.DAS.EmployerFinance.Api'
inputs:
Expand Down Expand Up @@ -147,18 +140,11 @@ steps:
inputs:
solution: 'src/SFA.DAS.EmployerFinance.Host/SFA.DAS.EmployerFinance.Host.csproj'
vsVersion: 16.0
msbuildArgs: '/p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:SkipInvalidConfigurations=true /p:publishUrl="$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Host"'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)/publish"'
platform: 'anycpu'
configuration: 'release'
clean: true

- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerFinance.Host'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Host'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Host.zip'

- task: VSBuild@1
displayName: 'Publish SFA.DAS.EAS.Account.Api'
inputs:
Expand Down

0 comments on commit 643a2c1

Please sign in to comment.