Skip to content

Commit

Permalink
Merge pull request #103 from ombori/DEVOPS-23
Browse files Browse the repository at this point in the history
Added deploy to dev
  • Loading branch information
gaboraszt authored Jan 31, 2024
2 parents e224b98 + 4ad0885 commit 1d48ad5
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion azure-templates/tf-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,23 @@ jobs:
condition: succeeded()
pool: server
steps:
- template: tf-approve.yml
- template: tf-approve.yml
- job: DeployToDev
condition: eq(variables['Build.SourceBranch'], 'refs/heads/dev')
pool: ${{ parameters.agentPool }}
displayName: Approve
dependsOn: approve
steps:
- task: ExtractFiles@1
displayName: 'Extract files'
inputs:
archiveFilePatterns: '$(System.DefaultWorkingDirectory)/_ombori.grid-docs/build-dev/*.zip'
destinationFolder: '$(System.DefaultWorkingDirectory)/_ombori.grid-docs/web'
- task: AzureFileCopy@4
displayName: 'AzureBlob File Copy'
inputs:
SourcePath: '$(System.DefaultWorkingDirectory)/_ombori.grid-docs/web/*'
azureSubscription: 'Azure Production (EA) Service Connection'
Destination: AzureBlob
storage: griddocsdev
ContainerName: '$web'

0 comments on commit 1d48ad5

Please sign in to comment.