This repository has been archived by the owner on Mar 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ _site | |
.project | ||
.idea/ | ||
*.iml | ||
site-content/ |
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# jclouds | ||
|
||
This repository supports the GitHub Pages site for jclouds. See and read more at [http://www.jclouds.org](http://www.jclouds.org). | ||
This repository supports the GitHub Pages site for jclouds. See and read more at [http://www.jclouds.org](http://www.jclouds.org). | ||
|
||
To deploy web site to ASF: | ||
* have jekyll installed | ||
* sh ./deploy-site.sh $uid $pwd (with $uid yout ASF account $pwd your ASF password) | ||
|
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,14 @@ | ||
jekyll build | ||
if [ ! -d "site-content" ]; then | ||
svn co https://svn.apache.org/repos/asf/incubator/jclouds/site-content | ||
else | ||
svn up site-content | ||
fi | ||
cp -r _site/* site-content/ | ||
#jekyll copy site-content to _site so remove it | ||
rm -rf site-content/site-content | ||
rm site-content/deploy-site.sh | ||
#add new files | ||
cd site-content | ||
svn st | grep ? | awk '{print $2}'| xargs svn --no-auto-props add {} \; | ||
svn ci --no-auth-cache --username $1 --password $2 -m'deploy jclouds site content' | ||
This comment has been minimized.
Sorry, something went wrong. |
To prevent password leakage, could we instead store the
auth
file in a non-publicly accessible location on DEV@cloud, copy it for the duration of the upload (or set SVN_HOME appropriately) and then remove it afterwards?