forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
Rundeck site
gschueler edited this page Feb 10, 2012
·
3 revisions
We will create a submodule in the gh-pages, containing the docsX.Y branch of Rundeck-docs repository.
-
Checkout/clone the gh-pages branch of dtolabs/rundeck
mkdir rundeck-pages cd rundeck-pages git init git remote add origin [email protected]:dtolabs/rundeck.git git fetch origin gh-pages:gh-pages git checkout gh-pages
-
Now we will add the docsX.Y branch of Rundeck-docs in a subdirectory directory called "X.Y":
Important: use the "Git Read-Only" URL:
git://github.com/dtolabs/rundeck-docs.git
git submodule add -b docsX.Y git://github.com/dtolabs/rundeck-docs.git X.Y git add X.Y
-
If you are going to make this version into the "latest" available on the site, also update the "docs" submodule
cd docs git fetch origin docsX.Y:docsX.Y git checkout docsX.Y cd .. git add docs
-
Commit and push the changes
git commit -m "Added docs version X.Y" git push origin gh-pages