actually copy everything to dest

This commit is contained in:
Ell 2021-12-01 12:12:43 +01:00
parent cc9518a746
commit a501470294

4
Jenkinsfile vendored
View file

@ -7,7 +7,7 @@ pipeline {
} }
steps { steps {
sh 'rm -rf /var/www/tinylifegame/*' sh 'rm -rf /var/www/tinylifegame/*'
sh 'cp web/** /var/www/tinylifegame/ -r' sh 'cp web/. /var/www/tinylifegame/ -r'
} }
} }
stage('Docs') { stage('Docs') {
@ -17,7 +17,7 @@ pipeline {
steps { steps {
sh 'cd docs; docfx.exe' sh 'cd docs; docfx.exe'
sh 'rm -rf /var/www/tinylifedocs/*' sh 'rm -rf /var/www/tinylifedocs/*'
sh 'cp docs/_site/** /var/www/tinylifedocs/ -r' sh 'cp docs/_site/. /var/www/tinylifedocs/ -r'
} }
} }
} }