The code for
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
364 B

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