Skip to content

Commit fc094fa

Browse files
committed
Update azure-pipelines-1.yml for Azure Pipelines
1 parent c2bda6f commit fc094fa

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

azure-pipelines-1.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,19 @@ steps:
2727
script: '.\\mdresgen.exe icons'
2828
workingDirectory: '.\\mdresgen\\bin\\$(buildConfiguration)'
2929

30-
- powershell: git commit -a -m "Icons update from Azure pipeline"
31-
32-
- powershell: git push -f origin pipeline/icons
30+
- task: PowerShell@2
31+
displayName: "Commit Updated Icons"
32+
inputs:
33+
targetType: 'inline'
34+
script: git config --global user.email "[email protected]/"
35+
36+
git config --global user.name "Azure Pipeline"
37+
38+
git remote set-url origin https://$(GitHubUser):$(GitHubPat)@github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit.git
39+
40+
git commit -a -m "Icons update from Azure pipeline
41+
42+
git push -f origin pipeline/icons'
3343

3444
- task: PublishPipelineArtifact@0
3545
name: "PublishResourceGenerator"

0 commit comments

Comments
 (0)