Re: About RawGit, and possible replacements

On 13/12/2018 14:40, Nigel Megitt wrote:
> There’s another pattern by the way, that I am not aware of anyone adopting yet, which is to use Github Pages, but to push the build artefacts of PR branches into specific named subfolders. This does mean that whatever build script is used to write to the branch served by Github Pages needs to be aware, and it means that serving the master branch is probably not wise.

The main issue with that pattern is it's hard to use URIs in content 
that are position independent and so work in pages.io and in final 
hosting. The reason is the root is /subfolder/ and not not  /.

I guess relative URLS and <base> will work but you need to alter <base> 
between deployments.

Steve Lee

Received on Monday, 17 December 2018 10:11:44 UTC