hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

Preview/live not aligned #195

Closed iansk closed 10 months ago

iansk commented 10 months ago

From Slack

I just pushed an article (adoc) live using the REST API:

Preview:

curl -vi -XPOST 'https://admin.hlx.page/preview/hlxsites/prisma-cloud-docs/main/docs/en/enterprise-edition/rn/known-issues/known-issues'

Live:

curl -vi -XPOST 'https://admin.hlx.page/live/hlxsites/prisma-cloud-docs/main/docs/en/enterprise-edition/rn/known-issues/known-issues'

On the preview site, I see the fix Max made to address link text that said "undefined" (GH#168):

https://main--prisma-cloud-docs-website--hlxsites.hlx.page/en/enterprise-edition/rn/known-issues/known-issues

But on the live site, I don't see the fix.

https://main--prisma-cloud-docs-website--hlxsites.hlx.live/en/enterprise-edition/rn/known-issues/known-issues I opened both pages in fresh new incognito windows.

Questions:

maxakuru commented 10 months ago

answered questions on Slack, looks like this was a race condition on preview/publish