-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
After our discussion on dev I dug into the pretext-cli code. Looking for deploy related code, thinking I could do a PR to make it possible to do a deployment to a given folder.
I found "deploy_dir". So I set it in my project.ptx for the sample-book.
<deploy-dir>/Users/bmiller/....</deploy-dir>
Yes, the sample book still uses the 1.0 format file.
when I tried to run pretext deploy runestone. (no dice)
Maybe just pretext deploy then?
I got the following output, actually below is just a fraction of the output.
Staging deployment according to strategy static
Staging `runestone` at `/Users/bmiller/books/PTXSB/published/PTXSB`.
Staging custom static site located in `/Users/bmiller/Runestone/books/pretext/examples/sample-book` at `/Users/bmiller/Runestone/books/pretext/examples/sample-book/output/stage`.
error: [('/Users/bmiller/Runestone/books/pretext/examples/sample-book/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/ext/image-from-rawpixel-id-8704110-jpeg.jpg', '/Users/bmiller/Runestone/books/pretext/examples/sample-book/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/ext/image-from-rawpixel-id-8704110-jpeg.jpg', "[Errno 63] File name too long: '/Users/bmiller/Runestone/books/pretext/examples/sample-book/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/output/stage/ext/image-from-rawpixel-id-8704110-jpeg.jpg'"),
Seems like deploy could use a -t option.
Metadata
Metadata
Assignees
Labels
No labels