Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavi2410/html-preview-action
GitHub action to preview HTML page
https://github.com/pavi2410/html-preview-action
github-actions html html-preview preview
Last synced: about 1 month ago
JSON representation
GitHub action to preview HTML page
- Host: GitHub
- URL: https://github.com/pavi2410/html-preview-action
- Owner: pavi2410
- License: mit
- Created: 2020-03-07T13:25:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-30T20:07:03.000Z (over 2 years ago)
- Last Synced: 2024-05-02T02:53:01.880Z (7 months ago)
- Topics: github-actions, html, html-preview, preview
- Language: JavaScript
- Homepage:
- Size: 659 KB
- Stars: 29
- Watchers: 3
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTML Preview Action
This is a simple Github Action which comments on your PRs with a link to preview HTML files directly in the browser.
This is just a novelty action, but feel free to use it. If you'd like to contribute then just open a PR.
## Usage
```yaml
- name: HTML Preview
id: html_preview
uses: pavi2410/html-preview-action@v4
with:
html_file: 'index.html'
job_summary: true
```To get the `url` output, use this `steps.html_preview.outputs.url` in your later steps.
> [!note]
> Please read the [action.yml](https://github.com/pavi2410/html-preview-action/blob/master/action.yml) to learn more.## Credits
https://github.com/htmlpreview/htmlpreview.github.com