fix #2 - Génération des fichiers utiles à la version production

This commit is contained in:
2018-09-04 12:43:46 +02:00
parent ce890c07fd
commit 58d6ed6032
4 changed files with 104 additions and 0 deletions

15
deploy.sh Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
help() {
echo "Usage: ./$(basename $0) [destination]"
}
if [[ $* < 2 ]] ; then
echo "No destination given"
help
exit 1
fi
rsync -avP --include-from=filesToDeploy.txt . $1
exit 0