@@ -137,7 +137,7 @@ steps:
137
137
138
138
- task : Npm@1
139
139
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'))
141
141
inputs :
142
142
command : custom
143
143
workingDir : ${{ parameters.workingDir }}
@@ -146,7 +146,7 @@ steps:
146
146
147
147
- task : Npm@1
148
148
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'))
150
150
inputs :
151
151
command : custom
152
152
workingDir : ${{ parameters.workingDir }}
@@ -155,14 +155,14 @@ steps:
155
155
156
156
- task : CmdLine@2
157
157
displayName : Stage changes
158
- condition : eq(variables[' repositoryfy'] , 'true')
158
+ condition : eq(${{ parameters. repositoryfy }} , 'true')
159
159
inputs :
160
160
script : git add .
161
161
workingDirectory : ${{ parameters.workingDir }}/igniteui-live-editing-samples/${{ parameters.submoduleDir }}
162
162
163
163
- task : CmdLine@2
164
164
displayName : ' Check if there are any changes to be committed'
165
- condition : eq(variables[' repositoryfy'] , 'true')
165
+ condition : eq(${{ parameters. repositoryfy }} , 'true')
166
166
inputs :
167
167
script : |
168
168
# Check for changes
@@ -177,7 +177,7 @@ steps:
177
177
178
178
- task : CmdLine@2
179
179
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'))
181
181
inputs :
182
182
script : |
183
183
git config user.name "tfsbuild"
@@ -188,7 +188,7 @@ steps:
188
188
189
189
- task : CmdLine@2
190
190
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'))
192
192
inputs :
193
193
script : git push
194
194
workingDirectory : ${{ parameters.workingDir }}/igniteui-live-editing-samples/${{ parameters.submoduleDir }}
0 commit comments