Press/Jenkinsfile
Ell 060ab28dcc
Some checks failed
Press/pipeline/head There was a failure building this commit
copy properly
2021-07-07 15:17:05 +02:00

17 lines
340 B
Groovy

pipeline {
agent any
stages {
stage('Build') {
when {
branch 'main'
}
steps {
sh '''cd src
npm install
npx presskit build --output ../out --pretty-links --collapse-menu'''
sh '''rm -rf /var/www/press/*
cp out/. /var/www/press'''
}
}
}
}