Skip to content
Greg Schueler edited this page May 23, 2018 · 6 revisions

Howto update rundeck.org site with new docs

Rundeck.org site now lives in a separate repo: https://github.com/rundeck/rundeck-org-site

We will create a submodule in the site repo, containing the docsX.Y branch of Rundeck-docs repository.

  1. Checkout/clone the master branch of rundeck/rundeck-org-site

     git clone git@github.com:rundeck/rundeck-org-site.git
    
  2. 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/rundeck/rundeck-docs.git

     git submodule add -b docsX.Y git://github.com/rundeck/rundeck-docs.git X.Y
     git add X.Y
    
  3. 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
    
  4. Commit and push the changes

     git commit -m "Added docs version X.Y"
     git push origin master