Reworked publish script to publish to github pages