Publish to asf-site branch so push might work
diff --git a/Jenkinsfile b/Jenkinsfile
index 485bc80..1725af2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,20 +1,14 @@
pipeline {
agent {
-// docker {
-// image 'node:14-alpine'
label 'git-websites'
-// }
}
stages {
stage('build') {
-// environment {
-// ARIES_SITE_CREDS = credentials('aries-site-pub-PAT')
-// }
steps {
sh 'rm -rf build'
// clone the aries-site-pub repo
- sh 'git clone --depth 1 https://gitbox.apache.org/repos/asf/aries-site-pub.git build/site'
+ sh 'git clone --depth 1 --branch asf-site https://gitbox.apache.org/repos/asf/aries-site-pub.git build/site'
dir('build/site') {
sh 'git rm -r .'
}
@@ -25,7 +19,7 @@
dir('build/site') {
sh 'git add .'
sh 'echo `git commit -m "site build"`'
- sh 'git push https://gitbox.apache.org/repos/asf/aries-site-pub.git master'
+ sh 'git push https://gitbox.apache.org/repos/asf/aries-site-pub.git asf-site'
}
}
}
diff --git a/supplemental-ui/.asf.yaml b/supplemental-ui/.asf.yaml
index 2293939..babed89 100644
--- a/supplemental-ui/.asf.yaml
+++ b/supplemental-ui/.asf.yaml
@@ -6,4 +6,4 @@
staging:
profile: beta
- whoami: master
+ whoami: asf-site