Files
arne-drums/Jenkinsfile
Daniel Ledda 83a59ebf6b
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
chore: put node tool back in Jenkinsfile lol
2021-08-28 21:45:23 +02:00

20 lines
356 B
Groovy

pipeline {
agent any
tools {
nodejs "node"
}
stages {
stage('Build') {
steps {
sh 'npm install'
sh 'npm run build'
}
}
stage('Deploy') {
steps {
sh 'rsync ./public /var/www/public/html/drums'
}
}
}
}