This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to publish to github pages. run as ./autodoc-publish.sh
- Loading branch information
Jeff Weiss
committed
Aug 1, 2012
1 parent
d00b2b4
commit 3487eea
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ automation-properties.clj | |
bin/ | ||
pom.xml | ||
.settings/ | ||
autodoc/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |