GitHub Actions are a perfect addition to the development lifecycle. They can be used to test software, build Docker images, deploy assets and much more. With the Websiteshot Github Action, screenshot generation can be triggered via a Github Action.
You can find the repository at https://github.com/websiteshot/github-action.
The repository contains a description on how to use the Github Action. Basically, a simple integration looks like this:
Here is the link to the marketplace entry: https://github.com/marketplace/actions/websiteshot