pavi2410/HTML Preview
Upload preview artifacts for HTML files and generated sites
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| upload | Upload behavior; auto uses a raw upload for a single discovered file and falls back to an archive for multi-file previews | no | auto |
| html_file | The entry HTML file to preview, relative to site_root | yes | index.html |
| site_root | The root directory used for resolving the entry HTML file and related assets/pages | no | . |
| archive_name | Optional artifact name override for archived uploads; ignored for single-file raw uploads | no | — |
| retention_days | Artifact retention in days, or 0 to use the repository default | no | 0 |
| job_summary | Prints a job summary with the link | no | true |
Outputs
| name | description |
|---|---|
| url | The primary preview URL for this action run |
| artifact_url | The uploaded artifact URL for this action run |
| artifact_id | The uploaded artifact ID for this action run |
| artifact_name | The uploaded artifact name for this action run |
| discovered_files_count | The number of files discovered for the preview payload |
| skipped_references_count | The number of references skipped during discovery |
| result_json | JSON object describing the preview artifact, upload resolution, and discovery counts |
| comment_body | Markdown text that can be forwarded to a PR comment action |