Now jenksin job is ready with dryrun mode: https://builds.apache.org/job/Apache%20Dubbo/job/apache-dubbo-website-deployment/64/console
I'm going to asking help from Infra team to setup master branch as default branch for dubbo-website. Once branch configuration is done, I will enable jenkins job and turn on automatic build for dubbo website On 2019/06/13 03:09:30, Yuhao Bi <[email protected]> wrote: > +1 > good idea > > Huxing Zhang <[email protected]> 于2019年6月13日周四 上午10:26写道: > > > Hi, > > > > On Wed, Jun 12, 2019 at 10:36 PM YunKun Huang <[email protected]> wrote: > > > > > > hey, > > > > > > I'm working on a jenkins job to automaticlly generate website and push > > back > > > to git repo. > > > > > > When I working on it, I noticed the dubbo-website only has one active > > > branch named 'asf-site'. > > > > > > The website is managed by a tool named 'docsite' which can generate > > website > > > from source files. > > > Currently for dubbo-website, all source files and generated files are in > > > same branch. it will cause some issue: > > > > > > 1.for user who want to contribute to website, he/she need clone generated > > > files togethere which is not nessary > > > 2.people will confuse for which one need change, people may create PR to > > > modify html which is generated and may overwite by docsite tool. > > > 3.if we apply jenksin job to update website, the commit logs will combine > > > by jenkins automatic commit and other commits which is hard to maintain. > > > > > > What i suggest is to use master branch to manage source files which > > accept > > > PR and for asf-site branch, this is maintain by jenkins job. > > > > +1 to the proposal. > > > > > > > > Camel website is using this strategy and looks like it works well ( > > > https://github.com/apache/camel-website) > > > > > > > > -- > > Best Regards! > > Huxing > > >
