Closed flavioheleno closed 2 years ago
Doesn't seem to be working, though I don't understand the error: https://github.com/phpinternalsbook/PHP-Internals-Book/runs/4781019969?check_suite_focus=true
Ah, the relevant failure is in an earlier step:
./build_release_html.sh: line 7: sphinx-build: command not found
We need to install sphinx.
First and foremost, sorry!
I'll take a look at both the shell script and at the action to ensure that:
@nikic I had to extract the commands from the shell script and put them straight into the action, so that I could use both Python for Sphinx and then PHP for the redirects. Are you ok with that? You can see it before the PR here: https://github.com/flavioheleno/PHP-Internals-Book/commit/89c3279aa841cb9ec468ecea1a307121afbd1624
@flavioheleno Not sure I get why they need to be separated. If you install both Python and PHP first, shouldn't it work?
I had no idea you could install both and have them available to next steps! Reverting back to using the shell script :)
This PR adds a Github Action to automate publishing the book to github-pages, closing #108.