Skip to content

Commit 7ffebed

Browse files
Update devops-integration.yml for Azure Pipelines
1 parent 99ed416 commit 7ffebed

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

devops-integration.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ resources:
99
type: github
1010
endpoint: github.com_surveyjsdeveloper
1111
name: surveyjs/service
12+
ref: V2
1213

1314
trigger:
1415
batch: true
@@ -178,10 +179,20 @@ steps:
178179
# git fetch origin master --tags --force
179180
# git checkout master
180181
# git add surveyjs.io/App_Data/DocsPdf
181-
# git commit -m "updated survey-pdf docs"
182+
# git commit -m "updated survey-pdf docs [azurepipelines skip]"
182183
# git pull origin master
183184
# git push origin master
184185
# displayName: "git surveyjs/service push updated docs"
186+
- powershell: |
187+
cd $(Build.SourcesDirectory)/service
188+
git pull origin V2
189+
git fetch origin V2 --tags --force
190+
git checkout V2
191+
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"
185196
186197
- task: CopyFiles@2
187198
inputs:

0 commit comments

Comments
 (0)