This repo is for self-education purposes. Learning how to use GH Actions. I have taken a public OpenAPI specification from ASTM and copied it to this repository at the top level.
The goal of this exercise is to:
- Trigger actions off of changes to the OpenAPI spec
- Is the OpenAPI file valid?
- Yes? Generate a static HTML file of the Redocly version of the OpenAPI spec and serve that file via GitHub Pages.
- No? File an issue pointing at the commit that seems to have broken things.
This seems to be working. The HTML is located in the gh-pages branch of this repo. The page is served here using GH Pages.
The Action workflow is here.