Skip to content

Commit 0771ee4

Browse files
Update devops-integration.yml for Azure Pipelines
1 parent eef65da commit 0771ee4

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

devops-integration.yml

+17-18
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ resources:
99
type: github
1010
endpoint: github.com_surveyjsdeveloper
1111
name: surveyjs/service
12-
ref: V2
1312

1413
trigger:
1514
batch: true
@@ -173,26 +172,26 @@ steps:
173172
# read about the problem with git output ($env:GIT_REDIRECT_STDERR = '2>&1') :
174173
# https://github.com/microsoft/azure-pipelines-yaml/issues/248
175174
# https://stackoverflow.com/questions/58485585/azure-pipeline-powershell-and-git-on-windows-server-2019-gives-error-in-output
176-
# - powershell: |
177-
# cd $(Build.SourcesDirectory)/service
178-
# git pull origin master
179-
# git fetch origin master --tags --force
180-
# git checkout master
181-
# git add surveyjs.io/App_Data/DocsPdf
182-
# git commit -m "updated survey-pdf docs [azurepipelines skip]"
183-
# git pull origin master
184-
# git push origin master
185-
# displayName: "git surveyjs/service push updated docs"
186175
- powershell: |
187176
cd $(Build.SourcesDirectory)/service
188-
git pull origin V2
189-
git fetch origin V2 --tags --force
190-
git checkout V2
177+
git pull origin master
178+
git fetch origin master --tags --force
179+
git checkout master
191180
git add surveyjs.io/App_Data/DocsPdf
192-
git commit -m "updated survey-pdf V2 docs [azurepipelines skip]"
193-
git pull origin V2
194-
git push origin V2
195-
displayName: "git surveyjs/service push updated V2 docs"
181+
git commit -m "updated survey-pdf docs [azurepipelines skip]"
182+
git pull origin master
183+
git push origin master
184+
displayName: "git surveyjs/service push updated docs"
185+
# - powershell: |
186+
# cd $(Build.SourcesDirectory)/service
187+
# git pull origin V2
188+
# git fetch origin V2 --tags --force
189+
# git checkout V2
190+
# git add surveyjs.io/App_Data/DocsPdf
191+
# git commit -m "updated survey-pdf V2 docs [azurepipelines skip]"
192+
# git pull origin V2
193+
# git push origin V2
194+
# displayName: "git surveyjs/service push updated V2 docs"
196195

197196
- task: CopyFiles@2
198197
inputs:

0 commit comments

Comments
 (0)