Skip to content

Instantly share code, notes, and snippets.

@johnkors
Created April 29, 2020 12:07
Show Gist options
  • Save johnkors/918f750a1a25f543b016c3ddbda7c702 to your computer and use it in GitHub Desktop.
Save johnkors/918f750a1a25f543b016c3ddbda7c702 to your computer and use it in GitHub Desktop.
Azure Pipelines using a stage template
trigger:
paths:
include:
- infrastructure/*
stages:
- template: 'templates/deploy_infra_stage.yml'
parameters:
environment: 'test'
hostname: 'myservice-test.domain.com'
- template: 'templates/deploy_infra_stage.yml'
parameters:
environment: 'prod'
hostname: 'myservice.domain.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment