GamesWebsite/Jenkinsfile
Ell 7885df99cd
All checks were successful
Press/pipeline/head This commit looks good
recursive copy?
2021-07-07 15:18:02 +02:00

17 lines
No EOL
343 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 -r out/. /var/www/press'''
}
}
}
}