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

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

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

Loading…
Cancel
Save