Skip to content

Commit 03c59ea

Browse files
committed
git credential
1 parent d8f2c51 commit 03c59ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.ci/azure-pipelines.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ jobs:
225225
- powershell: |
226226
git init
227227
git checkout -b $(GH_DOC_BRANCH)
228-
git config --global credential.helper store
229-
ps: Set-Content -Path "$HOME\.git-credentials" -Value "https://$GH_PAT:[email protected]`n" -NoNewline
230228
git config --global user.name "pyansys-ci-bot"
231229
git config --global user.email "$(GH_EMAIL)"
232230
New-Item -ItemType file .nojekyll
@@ -236,7 +234,7 @@ jobs:
236234
workingDirectory: docs\build\html
237235
238236
- script: |
239-
git remote add origin https://github.com/pyansys/DPF-Core-docs.git
237+
git remote add origin https://$(GH_PAT)@github.com/pyansys/DPF-Core-docs
240238
git push -u origin $(GH_DOC_BRANCH) --force
241239
displayName: "Publish GitHub Pages merge commit"
242240
workingDirectory: docs\build\html

0 commit comments

Comments
 (0)