This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch feature/site-git-migration
in repository https://gitbox.apache.org/repos/asf/archiva-site.git


The following commit(s) were added to refs/heads/feature/site-git-migration by 
this push:
     new 38cb801  Activating new git publish repository
38cb801 is described below

commit 38cb801088302d934a2391d3143410acc59b41c1
Author: Martin Stockhammer <[email protected]>
AuthorDate: Tue Dec 11 21:05:57 2018 +0100

    Activating new git publish repository
---
 deploySite.sh     | 5 +++++
 pom.xml           | 2 +-
 src/site/site.xml | 6 +-----
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/deploySite.sh b/deploySite.sh
index fee5a0f..70b31fb 100755
--- a/deploySite.sh
+++ b/deploySite.sh
@@ -38,6 +38,11 @@ fi
 echo ">>>> Creating site and reports <<<<" 
 mvn clean site site:stage "$@"
 
+if [ $? -ne 0 ]; then
+  echo ">>>> Error occurred. Stopping now. <<<<"
+  exit 1
+fi
+
 echo "*****************************************"
 echo ">>>> Finished the site stage process <<<<"
 echo "> You can check the content in the folder target/staging or by opening 
the following url"
diff --git a/pom.xml b/pom.xml
index fa85cd6..ec3e841 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
 
     <newUiDocVersion>${archivaReleaseVersion}</newUiDocVersion>
 
-    
<siteRepositoryUrl>scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content-INVALID.git</siteRepositoryUrl>
+    
<siteRepositoryUrl>scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content.git</siteRepositoryUrl>
 
   </properties>
 
diff --git a/src/site/site.xml b/src/site/site.xml
index 7a86387..d00a229 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -52,11 +52,7 @@
         <ribbonOrientation>right</ribbonOrientation>
         <ribbonColor>gray</ribbonColor>
       </gitHub>
-      <!--gitHub>
-        <projectId>apache/archiva</projectId>
-        <ribbonOrientation>right</ribbonOrientation>
-        <ribbonColor>orange</ribbonColor>
-      </gitHub-->
+
     </fluidoSkin>
 
   </custom>

Reply via email to