Hi Cataster
Thanks for your info. Please try the below steps:
- Move
azure-pipelines.yml
frommain
toworkspace_publish
- Update the default pipeline definition to point to
workspace_publish
- Trigger the pipeline manually or by pushing to that branch
If you want to manage all pipeline logic in main,
use a checkout
step to check out workspace_publish
branch as an additional repo or folder
- checkout: self
persistCredentials: true
- checkout: git://$(Build.Repository.Name)@workspace_publish
path: workspace_publish_code
Update your template paths to:
TemplateFile: '$(Build.SourcesDirectory)/workspace_publish_code/abc-data/TemplateForWorkspace.json'
Hope this helps!
Please Let me know if you have any queries.