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

skygo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/netbeans-antora.git


The following commit(s) were added to refs/heads/main by this push:
     new 5a9f8bf  add jenkins stage to website antora branch
     new 4b55b0e  Merge pull request #7 from ebarboni/stateantora
5a9f8bf is described below

commit 5a9f8bffac932e43957412d48396dbffd8f8835d
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Mon Oct 16 23:17:16 2023 +0200

    add jenkins stage to website antora branch
---
 Jenkinsfile               | 20 ++++++++++----------
 supplemental-ui/.asf.yaml | 10 ++++++++++
 supplemental-ui/ui.yml    |  1 +
 3 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b1f4b86..b25c422 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,20 +11,20 @@ pipeline {
         stage('build Apache NetBeans antora website') {
             steps {
                 sh 'rm -rf build'
-//
-//                sh 'git clone --depth 1 --branch asf-site 
https://gitbox.apache.org/repos/asf/netbeans-site-pub.git build/site'
-//                dir('build/site') {
-//                    sh 'git rm -r .'
-//                }
+
+                sh 'git clone --depth 1 --branch antora 
https://gitbox.apache.org/repos/asf/netbeans-website.git build/site'
+                dir('build/site') {
+                    sh 'git rm -r .'
+                }
 
                 sh 'npm run plain-install'
                 sh 'npm run build-noclean'
                 zip zipFile:'site.zip', dir:'build/site', archive:'true'
-//                dir('build/site') {
-//               sh 'git add .'
-//               sh 'echo `git commit -m "site build"`'
-//                  sh 'git push 
https://gitbox.apache.org/repos/asf/netbeans-site-pub.git asf-site'
-//             }
+                dir('build/site') {
+                 sh 'git add .'
+                 sh 'echo `git commit -m "site build"`'
+                  sh 'git push 
https://gitbox.apache.org/repos/asf/netbeans-website.git antora'
+               }
             }
         }
     }
diff --git a/supplemental-ui/.asf.yaml b/supplemental-ui/.asf.yaml
new file mode 100644
index 0000000..8e20a73
--- /dev/null
+++ b/supplemental-ui/.asf.yaml
@@ -0,0 +1,10 @@
+github:
+  description: "Apache NetBeans Antora Preview"
+  homepage: "https://netbeans-antora.staged.apache.org/";
+  labels:
+    - netbeans
+    - website
+    - antora
+staging:
+  profile: antora # See 
https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features#Git.asf.yamlfeatures-Stagingawebsitepreviewdomain
+  whoami: antora
diff --git a/supplemental-ui/ui.yml b/supplemental-ui/ui.yml
index a36e910..5176a8e 100644
--- a/supplemental-ui/ui.yml
+++ b/supplemental-ui/ui.yml
@@ -1,5 +1,6 @@
 static_files:
 - .htaccess
+- .asf.yaml
 - doap_NetBeans.rdf
 - ns/issues.html
 - dtds/*


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to