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

Build respec snapshots #94

Closed
jyasskin opened this issue Aug 18, 2021 · 3 comments
Closed

Build respec snapshots #94

jyasskin opened this issue Aug 18, 2021 · 3 comments
Labels
question Further information is requested

Comments

@jyasskin
Copy link
Member

https://github.com/w3ctag/privacy-principles/blob/main/.github/workflows/auto-publish.yml uses spec-prod's respec mode, but the output at https://w3ctag.github.io/privacy-principles/ is identical to the source, rather than being the built snapshot you get by using respec's export tool. The current state makes the published version break when dependencies change, and it shows readers a flash-of-unbuilt-content every time they load a page.

@sidvishnoi sidvishnoi added the question Further information is requested label Aug 19, 2021
@sidvishnoi
Copy link
Member

The issue here is the repository is configured to deploy GitHub pages from "main" branch, and not "gh-pages". gh-pages branch correctly has the static snapshot. See https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site

Find current publishing source for a repo
gh api repos/w3ctag/privacy-principles/pages --jq '.source.branch'
#> main

@jyasskin
Copy link
Member Author

Thanks, and sorry for the noise.

@sidvishnoi
Copy link
Member

No worries 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants