Add test html file and update test action #27
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: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: HTML Preview | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get HTML preview link | |
id: html_preview | |
uses: ./ # NOTE: replace with the latest version of this Action | |
- uses: github-actions-up-and-running/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
message: ${{ format('[Click here to preview the HTML page in your browser]({0})', steps.html_preview.outputs.url) }} |