Open phillipthelen opened 9 years ago
Great idea
3 Directories:
When a project's page is being updated, clone / pull the changes into the clone directory
. Then run jekyll
and build pages into the temp directory
. This is where errors will be caught. Finally, if building the pages is successful, move the entire directory from temp directory
to pages directory
.
Currently GitLab Pages only have a clone directory
and pages directory
. With the above, we can safely push changes that may break. Furthermore, we can add support for emailing errors to users given the email of the commit.
It would be nice if the old version of the page could still be served and the user who pushed would be notified about the error via email or similar. That way jekyll errors wouldn't result in accidental downtime.