diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..1300270 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +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/**' + } + } + } +}