Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 52abef65 authored by Ben Cooksley's avatar Ben Cooksley

Setup automatic website deployment

parent 4940d218
......@@ -20,14 +20,14 @@ timestamps {
stage('Website build') {
sh """
jekyll build
cd _site
tar cvzf ../plasma-mobile-org.tar.gz .
"""
}
// Grab the website repository (for later deployment)
stage('Capturing Artifacts') {
archiveArtifacts artifacts: '*.tar.gz', onlyIfSuccessful: true
// Deploy the website!
stage('Publishing Website') {
sh """
rsync -Hav -e "ssh -i $HOME/WebsitePublishing/website-upload.key" _site/ sitedeployer@olios.kde.org:/srv/www/generated/plasma-mobile.org/
"""
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment