Skip to content

Commit

Permalink
fix(pipelines): readonly property does not exist for var groups (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
julie-ng authored Nov 4, 2021
1 parent c02d2d0 commit 1582aff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions azure-pipelines/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ variables:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#understand-variable-syntax
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
- group: e2e-gov-demo-dev-kv
readonly: true
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/production') }}:
- group: e2e-gov-demo-kv
readonly: true

stages:
- template: stages/ci.yaml
Expand Down

0 comments on commit 1582aff

Please sign in to comment.