You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2023/03/28 02:02:53 UTC
[james-site] 08/30: [JAMES-3226] Added .asf.yaml and restrict publish only to live and staging branches
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/james-site.git
commit 33af0f09e857080f26f0a239b1b338b5d27b6899
Author: Eugen Stan <eu...@ieugen.ro>
AuthorDate: Mon Jul 20 13:06:30 2020 +0300
[JAMES-3226] Added .asf.yaml and restrict publish only to live and staging branches
---
.asf.yaml | 24 ++++++++++++++++++++++++
Jenkinsfile | 3 +++
2 files changed, 27 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 000000000..3d32b1103
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,24 @@
+#
+# See documentation for the options here
+# https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features
+#
+
+# Staging and publishing profile for yourproject-website.git:
+staging:
+ profile: ~
+ whoami: asf-staging
+
+github:
+ description: "Project to build the Apache James website"
+ homepage: https://james.apache.org/
+ labels:
+ - mail
+ - server
+ - imap
+ - smtp
+ - jmap
+notifications:
+ commits: site-dev@james.apache.org
+ issues: site-dev@james.apache.org
+ pullrequests: site-dev@james.apache.org
+ jira_options: link label comment
diff --git a/Jenkinsfile b/Jenkinsfile
index 0a1a168db..903cce234 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -68,6 +68,9 @@ pipeline {
label 'git-websites'
}
}
+ when {
+ anyOf { branch 'live'; branch 'staging' }
+ }
steps {
echo "Deploy staging James website."
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org