GitHub Actions: add manual HTML preview #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual HTML Preview | |
on: [pull_request, push] | |
jobs: | |
pr: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Manual HTML Preview | |
id: html_preview | |
uses: pavi2410/html-preview-action@v2 | |
with: | |
html_file: 'user_guide/index.html' | |
- name: Post comment with manual HTML preview link | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
**HTML preview for manual: {{ steps.html_preview.outputs.url }}** | |
proxy-url: https://add-pr-comment-proxy-94idvmwyie-uc.a.run.app |