Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Add script to publish to github pages. run as ./autodoc-publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Weiss committed Aug 1, 2012
1 parent d00b2b4 commit 3487eea
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ automation-properties.clj
bin/
pom.xml
.settings/
autodoc/**

17 changes: 17 additions & 0 deletions autodoc-publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

rm -rf autodoc/
git clone git@github.com:RedHatQE/katello.auto.git autodoc

cd autodoc
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
cd ..

lein autodoc

cd autodoc
git add -A
git commit -m "Documentation update"
git push origin gh-pages

0 comments on commit 3487eea

Please sign in to comment.