add: minimal publishing script

pull/56/head
Alexandre Dulaunoy 2017-08-25 07:15:26 +02:00
parent 46850c89e2
commit e4f1c42936
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 10 additions and 0 deletions

10
publish.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
gitbook build
gitbook pdf
gitbook epub
gitbook mobi
cp book.pdf _book
cp book.epub _book
cp book.mobi _book
cd _book
rsync -av . circl@cpab.circl.lu:/var/www/nwww.circl.lu/doc/misp/