diff --git a/Jenkinsfile b/Jenkinsfile index c209d70..94fa715 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,19 +1,19 @@ pipeline { - agent any - tools { - nodejs "node" - } - stages { - stage('Build') { - steps { - sh 'npm install' - sh 'npm run build' - } + agent any + tools { + nodejs "node" } - stage('Deploy') { - steps { - sh 'rsync ./public /var/www/public/html/drums' - } + stages { + stage('Build') { + steps { + sh 'npm install' + sh 'npm run build' + } + } + stage('Deploy') { + steps { + sh 'rsync ./public /var/www/public/html/drums' + } + } } - } }