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/01 23:38:14 UTC

[comdev-site] branch preview/test2 updated: Try to stage

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

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


The following commit(s) were added to refs/heads/preview/test2 by this push:
     new c891e1b  Try to stage
c891e1b is described below

commit c891e1b102e0515a5a6374ca19fedf477167c28b
Author: Sebb <se...@apache.org>
AuthorDate: Sun Apr 2 00:38:01 2023 +0100

    Try to stage
---
 .asf.yaml   | 7 +++++++
 Jenkinsfile | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index ee4a196..c9b5570 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -11,3 +11,10 @@ notifications:
   commits:      commits@community.apache.org
   issues:       dev@community.apache.org
   pullrequests: dev@community.apache.org
+
+# Test site in preview/test; output to preview/test-staging
+# autostage will publish the site at community-test.staged.apache.org
+staging:
+  profile: ~
+  whoami:  asf-staging
+  autostage: preview/*
diff --git a/Jenkinsfile b/Jenkinsfile
index a82f450..4aada26 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,7 +23,7 @@ pipeline {
     }
    
     environment {
-        DEPLOY_BRANCH = 'asf-site'
+        DEPLOY_BRANCH = 'preview/test2-staging'
         PAGEFIND_VERSION = '0.12.0'
         PAGEFIND_HASH = '3e450176562b65359f855c04894ec2c07ffd30a8d08ef4d5812f8d3469d7a58f'
     }
@@ -66,7 +66,7 @@ pipeline {
         stage('Deploy') {
             when {
                 anyOf {
-                    branch 'master'
+                    branch 'preview/test2'
                 }
             }
             steps {