@@ -137,7 +137,7 @@ steps:
137137
138138 - task : Npm@1
139139 displayName : Staging - Repositorify Angular Demos and LOB Demos
140- condition : and(eq(variables['Build.SourceBranchName'], 'vNext'), eq(variables[' repositoryfy'] , 'true'))
140+ condition : and(eq(variables['Build.SourceBranchName'], 'vNext'), eq(${{ parameters. repositoryfy }} , 'true'))
141141 inputs :
142142 command : custom
143143 workingDir : ${{ parameters.workingDir }}
@@ -146,7 +146,7 @@ steps:
146146
147147 - task : Npm@1
148148 displayName : Production - Repositorify Angular Demos
149- condition : and(eq(variables['Build.SourceBranchName'], 'master'), contains(variables['build.reason'], 'CI'), eq(variables[' repositoryfy'] , 'true'))
149+ condition : and(eq(variables['Build.SourceBranchName'], 'master'), contains(variables['build.reason'], 'CI'), eq(${{ parameters. repositoryfy }} , 'true'))
150150 inputs :
151151 command : custom
152152 workingDir : ${{ parameters.workingDir }}
@@ -155,14 +155,14 @@ steps:
155155
156156 - task : CmdLine@2
157157 displayName : Stage changes
158- condition : eq(variables[' repositoryfy'] , 'true')
158+ condition : eq(${{ parameters. repositoryfy }} , 'true')
159159 inputs :
160160 script : git add .
161161 workingDirectory : ${{ parameters.workingDir }}/igniteui-live-editing-samples/${{ parameters.submoduleDir }}
162162
163163 - task : CmdLine@2
164164 displayName : ' Check if there are any changes to be committed'
165- condition : eq(variables[' repositoryfy'] , 'true')
165+ condition : eq(${{ parameters. repositoryfy }} , 'true')
166166 inputs :
167167 script : |
168168 # Check for changes
@@ -177,7 +177,7 @@ steps:
177177
178178 - task : CmdLine@2
179179 displayName : Commit changes
180- condition : and(eq(variables['changesDetected'], 'true'), eq(variables[' repositoryfy'] , 'true'))
180+ condition : and(eq(variables['changesDetected'], 'true'), eq(${{ parameters. repositoryfy }} , 'true'))
181181 inputs :
182182 script : |
183183 git config user.name "tfsbuild"
@@ -188,7 +188,7 @@ steps:
188188
189189 - task : CmdLine@2
190190 displayName : Push changes
191- condition : and(eq(variables['changesDetected'], 'true'), eq(variables[' repositoryfy'] , 'true'))
191+ condition : and(eq(variables['changesDetected'], 'true'), eq(${{ parameters. repositoryfy }} , 'true'))
192192 inputs :
193193 script : git push
194194 workingDirectory : ${{ parameters.workingDir }}/igniteui-live-editing-samples/${{ parameters.submoduleDir }}
0 commit comments