Try to auto handbook
This commit is contained in:
parent
c28e8b0426
commit
a9ac227d97
|
|
@ -9,6 +9,7 @@ def deployTo(String targetDir) {
|
|||
sh "rsync -a --delete \"enc_${MSTR_BOOK}\" \"${targetDir}/\""
|
||||
sh "rsync -a --delete \"${FULL_BOOK}\" \"${targetDir}/\""
|
||||
sh "rsync -a --delete \"${PLYR_BOOK}\" \"${targetDir}/\""
|
||||
sh "rsync -a --delete \"${HNDB_DIR}*\" \"${targetDira}/\""
|
||||
}
|
||||
pipeline {
|
||||
agent { label 'latex_no_docker' }
|
||||
|
|
@ -20,6 +21,7 @@ pipeline {
|
|||
FULL_BOOK = "Ravenous_build.pdf"
|
||||
PLYR_BOOK = "Player_handbook_build.pdf"
|
||||
MSTR_BOOK = "Master_handbook_build.pdf"
|
||||
HNDB_DIR = "Handbooks/"
|
||||
MDBOOK_BUILD_DIR = "book" // Don't change, it allows the build script & mdBook to know where the book is
|
||||
DEPLOY_DIR = "/mnt/books/Ravenous" // Important, all books are in /mnt/book
|
||||
}
|
||||
|
|
@ -154,4 +156,5 @@ def runBuild(String deployDir) {
|
|||
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
|
||||
// }
|
||||
sh './build.sh full'
|
||||
sh "./all_players.sh"
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue