ci: publish website to github pages - #2497
Merged
Merged
Conversation
HTTP hosting for webui.ipfs.io and dev.webui.ipfs.io moves to GitHub Pages so the sites stay up independently of third-party gateway servers; IPFS pinning and DNSLink publishing are unchanged. - publishPreview: push build/ to ipfs/dev.webui.ipfs.io gh-pages on every main update (single orphan commit, ssh deploy key) - new deployPages job: on release dispatch, unpack the CAR artifact and deploy it to this repo's Pages, so served bytes always match the pinned CID; gated like the production dnslink step - gate pinning and publishing steps on github.repository so CI in forks skips them instead of failing on missing secrets - refresh stale comments about the release flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
webui.ipfs.ioanddev.webui.ipfs.ioare served over HTTP by the collab cluster gateways (collab-cluster.dwebops.net). When that infra has an outage, both sites go down with it, and nothing in this repo can bring them back.Fix
mainpushesbuild/to thegh-pagesbranch of ipfs/dev.webui.ipfs.io, which GitHub Pages serves asdev.webui.ipfs.ioworkflow_dispatch) deploys this repo's own Pages behindwebui.ipfs.io, unpacked from the CAR artifact so the served bytes always match the pinned CIDipfs://and gateway access keep workingOnce DNS points both hostnames at GitHub Pages, release and dev HTTP hosting no longer depend on collab cluster availability; the cluster remains the IPFS pinning layer and the rollback target. The DNS flips happen separately.