Compare commits

..

No commits in common. "2011f162cdecd6007573ad8445b0f90fb322bc3d" and "dd5f46d9edc4bebac03022305ddff20444e85747" have entirely different histories.

2 changed files with 5 additions and 10 deletions

11
Jenkinsfile vendored
View File

@ -1,15 +1,10 @@
pipeline {
agent any
stages {
stage('build'){
stage('Do nothing') {
steps {
sh 'npm install'
sh 'npm run build'
}
}
stage('deploy'){
steps{
sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ssh-uploads/movie-explorer', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'dist/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
sh '/bin/true'
}
}
}

View File

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build --base=/movie-explorer/",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},