-
Couldn't load subscription status.
- Fork 106
Publishing Uyuni docs to gh pages
You must have already built the Uyuni docs. Copy the build directory to a different directory so you don’t accidentally delete it.
-
Delete your current working copy of
uyuni-docsout of your workspace. -
Clone a fresh copy of the repo:
git clone https://github.com/uyuni-project/uyuni-docs.git
-
Change back into the
uyuni-docsdirectory:cd uyuni-docs/
-
Check out the
gh-pagesbranch:git checkout gh-pages
If you check the contents of the directory now, you will see it doesn’t have the full repo contents, it only has the contents of a
/builddirectory. -
Check out a new branch called
yyyy.mm-updates-username(or similar):git checkout -b 2020.06-updates-lbrindley
-
Copy the contents of the
/builddirectory you saved locally into theuyuni-docsdirectory. -
Make sure there is a
.nojekyllfile in the root of the branch. If there is not, create it:touch .nojekyll. -
Commit the updated build files:
git add . git commit -m "updated build files" git push --set-upstream origin 2020.06-updates-lbrindley
-
Go to the Github WebUI and create the PR. Ensure you compare back to
gh-pages.
DO NOT MERGE THE PR. Julio will merge when he’s ready.