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/04/30 14:58:43 UTC

[comdev-site] branch main updated: Preview/test3 (#113)

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 271e09a  Preview/test3 (#113)
271e09a is described below

commit 271e09ae3d4f092b5a6810cdbe40774d64b729fc
Author: sebbASF <se...@users.noreply.github.com>
AuthorDate: Sun Apr 30 15:58:39 2023 +0100

    Preview/test3 (#113)
    
    * Try combining deploy branches
    
    * Start with empty staging repo
    
    * Bug fixes
    
    * More fixes
    
    * Oops
    
    * Why is it failing?
    
    * Debug
    
    * Debug
    
    * Try remote fetch
    
    * Nearly there?
    
    * Tudy up
    
    * Try tidied file
    
    * Try using cacheDir
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 22523bc..448a9ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,7 +96,7 @@ pipeline {
         stage('Build') {
             steps {
                 script {
-                    sh "${HUGO_PATH} --destination ${env.OUT_DIR}"
+                    sh "${HUGO_PATH} --destination ${env.OUT_DIR} --cacheDir ${env.HUGO_DIR}"
                     sh "${PAGEFIND_DIR}/bin/pagefind --source ${env.OUT_DIR}"
                     sh "rm -f .hugo_build.lock"
                 }