Skip to content

Commit

Permalink
Update devops-integration.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Jan 9, 2025
1 parent cfeb3f8 commit 31c2334
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions devops-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,16 @@ steps:
# read about the problem with git output ($env:GIT_REDIRECT_STDERR = '2>&1') :
# https://github.com/microsoft/azure-pipelines-yaml/issues/248
# https://stackoverflow.com/questions/58485585/azure-pipeline-powershell-and-git-on-windows-server-2019-gives-error-in-output
- powershell: |
cd $(Build.SourcesDirectory)/service
git pull origin master
git fetch origin master --tags --force
git checkout master
git add surveyjs.io/App_Data/DocsPdf
git commit -m "updated survey-pdf docs"
git pull origin master
git push origin master
displayName: "git surveyjs/service push updated docs"
# - powershell: |
# cd $(Build.SourcesDirectory)/service
# git pull origin master
# git fetch origin master --tags --force
# git checkout master
# git add surveyjs.io/App_Data/DocsPdf
# git commit -m "updated survey-pdf docs"
# git pull origin master
# git push origin master
# displayName: "git surveyjs/service push updated docs"

- task: CopyFiles@2
inputs:
Expand Down

0 comments on commit 31c2334

Please sign in to comment.