Compare commits

..

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

2 changed files with 5 additions and 10 deletions

13
Jenkinsfile vendored
View File

@ -1,15 +1,10 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('build'){ stage('Do nothing') {
steps{ steps {
sh 'npm install' sh '/bin/true'
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)])
} }
} }
} }

View File

@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "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", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview" "preview": "vite preview"
}, },