Compare commits
2 Commits
dependabot
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
113505c65c | ||
|
0b7ea69e1f |
24
Jenkinsfile.groovy
Normal file
24
Jenkinsfile.groovy
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
environment {
|
||||||
|
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:/var/lib/jenkins/bin:${env.PATH}"
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Install') {
|
||||||
|
steps {
|
||||||
|
sh 'pnpm i'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'pnpm build'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Deploy') {
|
||||||
|
steps {
|
||||||
|
sh 'rm -rf /var/www/horarios-v2/*'
|
||||||
|
sh 'cp -r ./dist/* /var/www/horarios-v2/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -18,7 +18,7 @@
|
|||||||
"vue": "^3.0.0-rc.5",
|
"vue": "^3.0.0-rc.5",
|
||||||
"vue-router": "^4.0.0-alpha.6",
|
"vue-router": "^4.0.0-alpha.6",
|
||||||
"vuex": "^4.0.0-alpha.1",
|
"vuex": "^4.0.0-alpha.1",
|
||||||
"webpack": "^4.43.0",
|
"webpack": "^4.47.0",
|
||||||
"yaml": "^1.10.0",
|
"yaml": "^1.10.0",
|
||||||
"yaml-loader": "^0.6.0"
|
"yaml-loader": "^0.6.0"
|
||||||
},
|
},
|
||||||
@ -32,8 +32,8 @@
|
|||||||
"vue-cli-plugin-vue-next": "~0.1.3"
|
"vue-cli-plugin-vue-next": "~0.1.3"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"defaults",
|
||||||
"last 2 versions",
|
"not IE 11",
|
||||||
"not dead"
|
"maintained node versions"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
9761
pnpm-lock.yaml
9761
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
test: /\.coffee$/,
|
test: /\.coffee$/,
|
||||||
loader: 'coffee-loader',
|
loader: 'coffee-loader',
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
Reference in New Issue
Block a user