GamesWebsite/Jenkinsfile
Ell b64bcee249
Some checks failed
Press/pipeline/head There was a failure building this commit
force remove old stuff
2021-07-07 15:15:39 +02:00

17 lines
No EOL
344 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'''
}
}
}
}