Support for publish with GitHub pages #1
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub workflow for publish with GitHub pages
Added GitHub action files to build and publish the site when
master
branch is updated. Also added action for test build when PR is created or modified.Fix for baseUrl configuration
It also fixes a problem with
baseUrl
which doesn't support relative path.facebook/docusaurus#448
Default for basUrl is
/
. This is OK for sites published directly on the root of the domain without application path.If the site if not on the root repo secret
BASE_URL
can be specified with custom application path e.g./rchain-docs/
(both slashes are important).