Files
csgowtf/Jenkinsfile

23 lines
521 B
Groovy

pipeline {
agent any
stages {
stage('Prepare') {
steps {
writeFile file: '.env.prodution', text: 'VUE_APP_API_URL=https://api.csgow.tf'
}
}
stage('Install Dependencies') {
steps {
sh 'yarn install'
}
}
stage('Build') {
steps {
sh 'yarn build'
archiveArtifacts artifacts: '**/dist/**', excludes: '**/node_modules/**'
}
}
}
}