All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
23 lines
521 B
Groovy
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/**'
|
|
}
|
|
}
|
|
}
|
|
}
|