publish: fixed merging of created docs into branch