Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JAMES-3226] Added .asf.yaml and restrict publish only to live and st…
…aging branches
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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: | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -68,6 +68,9 @@ pipeline { | ||
label 'git-websites' | ||
} | ||
} | ||
when { | ||
anyOf { branch 'live'; branch 'staging' } | ||
} | ||
|
||
steps { | ||
echo "Deploy staging James website." | ||