Skip to content

Commit

Permalink
fix(cd): fixing conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosSF committed Jan 6, 2025
1 parent 5e120ee commit 7443619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-devops/templates/cd-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ steps:

- task: CmdLine@2
displayName: Commit changes
condition: eq(dependencies.CheckChanges.outputs['CheckChanges.changesDetected'], 'true')
condition: eq(variables['changesDetected'], 'true')
inputs:
script: |
git config user.name "tfsbuild"
Expand All @@ -170,7 +170,7 @@ steps:

- task: CmdLine@2
displayName: Push changes
condition: eq(dependencies.CheckChanges.outputs['CheckChanges.changesDetected'], 'true')
condition: eq(variables['changesDetected'], 'true')
inputs:
script: git push
workingDirectory: ${{ parameters.workingDir }}/igniteui-live-editing-samples/${{ parameters.submoduleDir }}

0 comments on commit 7443619

Please sign in to comment.