Static site hosting/create: Difference between revisions

no edit summary
imported>Paulproteus
No edit summary
imported>Paulproteus
No edit summary
* on ''staticsites@linode.openhatch.org'', edit ~/public_html/index.cgi to add a new repo_url2directory based on the templates you see.
* on GitHub, configure http://linode.openhatch.org/~staticsites/ as a web hooks URL.
** To do that, first visit your repo, e.g. http://github.com/openhatch/oh-campus-foss
** Click '''settings''' to go to e.g. https://github.com/openhatch/oh-campus-foss/settings
** Click '''Service hooks to go to e.g. https://github.com/openhatch/oh-campus-foss/settings/hooks
** Click '''WebHook URLs'''
** Add http://linode.openhatch.org/~staticsites/ into the form, and click '''Update settings'''. Ta-da!
* Visit http://linode.openhatch.org/~staticsites/ to make sure it prints "You probably want to POST." rather than "Error 500".
* That should be it.
Anonymous user