You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/10/08 15:03:06 UTC

[comdev-site] branch main updated: Revert "Update to pagefind 1.0.3"

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

sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 610df49  Revert "Update to pagefind 1.0.3"
610df49 is described below

commit 610df496fc219ecd6f94ab632609b19245d5e64b
Author: Sebb <se...@apache.org>
AuthorDate: Sun Oct 8 16:02:28 2023 +0100

    Revert "Update to pagefind 1.0.3"
    
    This reverts commit 8344cf92836b92c6dc579f2aa9b89e85715024cc.
---
 Jenkinsfile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index bb1f8c0..448a9ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,13 +21,13 @@ pipeline {
         // https://cwiki.apache.org/confluence/display/INFRA/ci-builds.apache.org
         label 'git-websites'
     }
-
+   
     environment {
         DEPLOY_BRANCH = "${env.BRANCH_NAME == "main" ? "asf-site" : "${env.BRANCH_NAME}-staging"}"
         HUGO_VERSION = '0.111.3'
         HUGO_HASH = 'b382aacb522a470455ab771d0e8296e42488d3ea4e61fe49c11c32ec7fb6ee8b'
-        PAGEFIND_VERSION = '1.0.3'
-        PAGEFIND_HASH = 'e84ec7e8cb424022aa70ca14e6735c67c9728596753321dec782a902c3bfe6f0'
+        PAGEFIND_VERSION = '0.12.0'
+        PAGEFIND_HASH = '3e450176562b65359f855c04894ec2c07ffd30a8d08ef4d5812f8d3469d7a58f'
     }
 
     stages {
@@ -89,7 +89,7 @@ pipeline {
                     env.TMP_DIR = sh(script:'mktemp -d', returnStdout: true).trim()
                     env.OUT_DIR = "${env.TMP_DIR}/content"
                     sh "mkdir -p ${env.OUT_DIR}"
-
+                    
                 }
             }
         }
@@ -97,7 +97,7 @@ pipeline {
             steps {
                 script {
                     sh "${HUGO_PATH} --destination ${env.OUT_DIR} --cacheDir ${env.HUGO_DIR}"
-                    sh "${PAGEFIND_DIR}/bin/pagefind --site ${env.OUT_DIR}" --output-subdir "_pagefind"
+                    sh "${PAGEFIND_DIR}/bin/pagefind --source ${env.OUT_DIR}"
                     sh "rm -f .hugo_build.lock"
                 }
             }
@@ -117,7 +117,7 @@ pipeline {
                     not {
                       branch '*'
                     }
-                }
+                }        
             }
 
             steps {
@@ -160,7 +160,7 @@ pipeline {
             }
         }
     }
-
+    
     post {
         always {
             script {