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

Move rendered book to a versioned path. #5

Merged
merged 2 commits into from
Sep 1, 2021
Merged

Conversation

hdevalence
Copy link
Member

Eventually, these notes are supposed to become a protocol specification, living
on a separate subdomain. It's useful to version specs, so this adds a version
to the path, changing penumbra.zone/XYZ to penumbra.zone/VERSION/XYZ,
where VERSION is a branch name or git tag.

Unfortunately, the firebase cli tools want to deploy an entire site atomically,
rather than adding files, so currently, this deployment pipeline can't actually
handle tags; only the most recently deployed version will be available.
However, the URLs are in place, so the deployment pipeline can be fixed later
without redirects.

Finally, we add redirects immortalizing the current state of the notes, so that
existing links won't break, unless/until the underlying pages change.

Eventually, these notes are supposed to become a protocol specification, living
on a separate subdomain.  It's useful to version specs, so this adds a version
to the path, changing `penumbra.zone/XYZ` to `penumbra.zone/VERSION/XYZ`,
where `VERSION` is a branch name or git tag.

Unfortunately, the firebase cli tools want to deploy an entire site atomically,
rather than adding files, so currently, this deployment pipeline can't actually
handle tags; only the most recently deployed version will be available.
However, the URLs are in place, so the deployment pipeline can be fixed later
without redirects.

Finally, we add redirects immortalizing the current state of the notes, so that
existing links won't break, unless/until the underlying pages change.
@hdevalence hdevalence merged commit edfe8b8 into main Sep 1, 2021
@hdevalence hdevalence deleted the move-protocol-book branch September 1, 2021 22:12
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.

1 participant