Skip to content

[preview link generator] Pull preview links from build report #701

Description

@gewarren

Currently the preview link generator manually constructs preview links for Markdown and YAML files in the PR. This is problematic because it doesn't create preview links for snippets, include files, or XML (API reference) files. Also, why try to recreate the link manually when we can just pull it from the build report - it's more reliable.

Instead, just copy the preview links that are generated by the OPS build into the table that's inserted in the PR description.

https://github.com/[gewarren/preview-on-learn](https://github.com/gewarren/preview-on-learn) has all the logic to obtain the build report from the OPS build status and parse it for preview links.

Metadata

Metadata

Assignees

Labels

🗺️ reQUESTTriggers an issue to be imported into Quest.

Type

No type

Projects

Status
🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions