Skip to content

Commit ec9cf64

Browse files
committed
Update azure-pipelines-1.yml for Azure Pipelines
1 parent 6785ec9 commit ec9cf64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines-1.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ steps:
2929

3030
- task: PowerShell@2
3131
displayName: "Commit Updated Icons"
32+
env:
33+
UserName: $(GitHubUser)
34+
Password: $(GitHubPat)
3235
inputs:
3336
targetType: 'inline'
3437
script: git config --global user.email "[email protected]/"
3538

3639
git config --global user.name "Azure Pipeline"
3740

38-
git remote set-url origin https://$(GitHubUser):$(GitHubPat)@github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit.git
41+
git remote set-url origin https://$(env:UserName):$(env:Password)@github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit.git
3942

4043
git commit -a -m "Icons update from Azure pipeline"
4144

0 commit comments

Comments
 (0)