ADF git mode recommends publishing to Master branch(or a fix branch which usually is protected from check-ins). Since Master is usually protected from check-ins and only pull requests are allowed, how would the publish work?
Asked
Active
Viewed 573 times
1 Answers
0
Master
branch is used to publish ADF to adf_publish
branch. In short, this process converts several json files into ARM-template json files stored in adf_publish
branch. Other working banches need to be merged into Master
branch and then be published together in Master
branch.

Joseph Xu
- 5,607
- 2
- 5
- 15
-
Yes, we cannot create pull request to 'adf_publish branch'. We only can pull request from other 'working branches' to 'master branch' , then merge into 'master branch', then do publish at 'master branch'. – Joseph Xu Jan 22 '21 at 01:36
-
We can't merge these two branches manually via git. Only in ADF, when we run 'publish' at Master branch, the ADF will deploy the changes on Master branch to the ad_publish branch automatically(convert to ARM Template for storage). – Joseph Xu Jan 22 '21 at 04:56
-
1removed my comments as issues were resolved – Blue Clouds Jan 22 '21 at 13:35
-
can the publish be done from main branch instead of master branch and then the templates are generated to adf_publish? – nidhi chaudhary May 16 '23 at 07:17