As the title states.
You need a lot more detailed requirements than 1 line.
You can instantiate a workflow with a single click, I have done that before. Whether you can write a workflow to do "merge and publish of all pages" in a workflow is questionable. Whether it is a good idea is doubtful