Archived
Template
1
Fork 0

Add 'Jenkinsfile'

This commit is contained in:
KorbsStudio 2022-11-10 20:34:16 -05:00
parent ef5455f545
commit 2ddb938288

21
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,21 @@
pipeline {
agent {
label 'optiplex'
}
stages {
stage('Update Website'){
steps {
sh "chmod -R 777 ./*"
sh "sudo bundle install"
sh "bundle exec jekyll deploy"
sh "mv ./_site/ ./blueanimates/"
sh "rm -R /usr/share/nginx/blueanimates/"
sh "cp -R ./blueanimates/ /usr/share/nginx/blueanimates/"
sh "rm -R ./blueanimates/"
}
}
}
}