Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for publish with GitHub pages #1

Merged
merged 3 commits into from
Aug 5, 2022
Merged

Conversation

tgrospic
Copy link
Collaborator

@tgrospic tgrospic commented Aug 5, 2022

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).
image

@fabcotech fabcotech merged commit cb40874 into rchain:master Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants