Closed LeoDog896 closed 1 year ago
Seems to work well: https://leodog896.github.io/site/
I'm having some trouble trying to publish mdbook under /book
. It seems the github pages example wasn't great since I was already under a subdirectory, but going to /book
locally shows broken links. How did y'all do it when publishing?
I just ran mdbook build
inside the book repo's directory and copied the book output directory to https://github.com/pest-parser/pest-parser.github.io/tree/master/book
The issue was on me - I was using an NPM library, serve, which was messing with path resolution. The python dev server works wonderfully.
For ease of development, I've separated the tasks to cache wasm-pack
as wasm-pack
doesn't do this yet.
Otherwise, the PR is fully ready to go!
CNAME needs to be added (example from pest-parser.github.io)
In Settings -> Pages, change Source to Github Actions
(Your domain is most likely verified, since you use it already. If it's not, follow these instructions): Since pest-parser is an organization, domains are verified on the organization-level. So, in your Organization Settings, go to Pages , and then the domain owner needs to add the TXT records.
Back in Settings -> Pages, add your domain.
This adds GitHub actions support and deployment (fixes #20), with the following:
Currently testing out actions on my own branch before I undraft this PR. (In the process, had some branch mixups as I'm trying to be on the master branch to test out CI.)