Browse Source

Tweak deployment paths

default_compile_flags
vector-of-bool 4 years ago
parent
commit
7ff8a3ebb1
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      azure-pipelines.yml

+ 7
- 2
azure-pipelines.yml View File

eq(variables['Build.SourceBranch'], 'refs/heads/develop'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'),
eq(variables['Build.SourceBranch'], 'refs/heads/master') eq(variables['Build.SourceBranch'], 'refs/heads/master')
) }} ) }}
deployDest: ${{ format('~/{0}/', variables['Build.SourceBranchName']) }}
deployDest: ${{ format('~/web/{0}/', variables['Build.SourceBranchName']) }}


stages: stages:
- stage: build_test - stage: build_test
- task: DownloadPipelineArtifact@2 - task: DownloadPipelineArtifact@2
displayName: Download builds displayName: Download builds
inputs: inputs:
targetPath: art/
targetPath: art-dirs/
- bash: |
set -eu
mkdir -p art/
mv -- $(find art-dirs/ -type f) art/
displayName: Rearrange
- task: CopyFilesOverSSH@0 - task: CopyFilesOverSSH@0
displayName: Post builds displayName: Post builds
inputs: inputs:

Loading…
Cancel
Save