We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e828cd commit ba6a31dCopy full SHA for ba6a31d
azure-pipelines/powershell-docs.yml
@@ -66,9 +66,10 @@ jobs:
66
- task: PowerShell@2
67
displayName: Pushing to github
68
env:
69
- GITHUB_TOKEN: ${env:GITHUB_TOKEN}
+ GITHUB_TOKEN: $(GITHUB_TOKEN)
70
inputs:
71
targetType: inline
72
+ pwsh: true
73
script: |
74
git config --global user.email "[email protected]"
75
git config --global user.name "Timothy Wamalwa"
@@ -77,6 +78,6 @@ jobs:
77
78
$proposedBranch = "weekly_update_help_files_"+$date
79
git add .
80
git commit -m "Updating help files "+$date
- git push --set-upstream "https://${env:GITHUB_TOKEN}@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $proposedBranch
81
+ git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $proposedBranch
82
git status
83
0 commit comments