This document covers the process we follow to publish new content on the open-learning websites
- Open-Learning Initiative : github : web
- Open-Learning Foundation : github : web
- Open-Learning Campus : github : web
Publishing is handled using GitHub pull-requests from private fork so first you have to fork this repository.
All your changes needed for the post (such as media) has to be contained in the same pull-request. To make things more organized you should contain changes in a separate branch.
All the websites use skinny-bones-jekyll as their engine.
If you are creating a new post there's a guide on how to do that.
When you have your post completed sent it using a pull-request to the correct repository and branch:
open-learning.github.io:masterfoundation:gh-pagescampus:gh-pages
Each post should be reviewed by someone in the @open-learning/pr team before getting published.
Publishing is completed by merging your work into the targe branch.
If changes were made that should be synchronized between the site we do that with git cherry-pick:
note
In this example we asume out remote is called
initiative, the remote url ishttps://github.com/open-learning/open-learning.github.io.gitand the last commit is a merge with all changes we want
git remote add initiative https://github.com/open-learning/open-learning.github.io.git
git fetch initiative
git cherry-pick -e -m 1 FETCH_HEADThis will open an editor where we can edit the git commit message.
note
If the commit message contains GitHub ticket references please qualify with
user/repo