-
Notifications
You must be signed in to change notification settings - Fork 98
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-docs
out 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-docs
directory:cd uyuni-docs/
-
Check out the
gh-pages
branch: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
/build
directory. -
Check out a new branch called
yyyy.mm-updates-username
(or similar):git checkout -b 2020.06-updates-lbrindley
-
Copy the contents of the
/build
directory you saved locally into theuyuni-docs
directory. -
Make sure there is a
.nojekyll
file 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.
![uyuni logo](https://github.com/uyuni-project/uyuni-docs/wiki/images/uyuni-logo.png)