In Gas Publisher I described the detail of how the Gas Publisher works. Although most of the code is in the shared mcpher library, there is some set up you have to do in your own projects. There is no coding to do – just attaching to libraries and a bit of cut and paste. Here’s the schematic again to remind you of what we are trying to do.
I’m deprecating this shortly. Better to use Enhanced Github gadget if your source is on git hub. For how to do that see, Getting your apps scripts to Github