diff --git a/staticweb/pipeline-templates/akademy-schedule-kde-org.pipeline b/staticweb/pipeline-templates/akademy-schedule-kde-org.pipeline index 1e0b05c..d685039 100644 --- a/staticweb/pipeline-templates/akademy-schedule-kde-org.pipeline +++ b/staticweb/pipeline-templates/akademy-schedule-kde-org.pipeline @@ -1,49 +1,50 @@ // Request a node to be allocated to us node( "StaticWeb" ) { // We want Timestamps on everything timestamps { // We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed catchError { // First Thing: Checkout Sources stage('Checkout Sources') { // Make sure we have a clean slate to begin with deleteDir() // Code checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: gitBranch]], userRemoteConfigs: [[url: repositoryUrl]] ] // Additional tooling - bofwiki2json checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'bofwiki2json/']], userRemoteConfigs: [[url: "https://invent.kde.org/sitter/bofwiki2json.git"]] ] } // Let's build website now stage('Website build') { sh """ + export LANG="C.UTF-8" cd bofwiki2json/ bundle install --path=vendor/ bundle exec wiki2json.rb cd ../ yarn install yarn build cp bofwiki2json/bof.json dist/ """ } // Deploy the website! stage('Publishing Website') { sh """ rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/website-upload.key" dist/ sitedeployer@nicoda.kde.org:${deploypath} """ } } } }