The Deploy Stage (deploy.yml)
A model deploy template that downloads two artifacts and uses one to deploy the other — with a critical bug fix for the default auto-download behavior.
jobs:
- deployment: Deploy_Drupal
strategy:
runOnce:
deploy:
steps:
- download: none # CRITICAL — disables auto-download
- task: DownloadPipelineArtifact@2 # Locked Box
inputs: { buildType: 'specific', buildVersionToDownload: 'latest' }
- task: DownloadPipelineArtifact@2 # Code package
inputs: { buildType: 'current' }
- script: gunzip -c image.tar.gz | docker load
- script: docker run --rm [image] bash ci/scripts/deploy/deploy_artifact.sh