GitHub Action to generate styled screenshots
Creates screenshots by input json data source and dimension parameters.
Required Target url to create a screenshot from.
Optional Screenshot image name (default screenshot)
Optional Screenshot image path (default images)
Optional Screenshot image extension (default png)
Optional Screenshot image encoding (default binary)
Optional Screenshot image with a full-page view (default false)
Optional Screenshot image width (default 1024)
Optional Screenshot image height (default 768)
Generated screenshot image (stored in the path
directory)
- name: Create screenshots
uses: alexrogalskiy/github-action-screenshots@master
with:
url: 'https://www.google.com/'
name: 'screenshot'
path: 'images'
extension: 'png'
encoding: 'binary'
fullPage: false
width: 400
height: 400
Running locally:
npm run start:action --action github-action-screenshots --url 'https://www.google.com/' --name screenshot-name --extension png --width 400 --height 400
Styled Screenshots is distributed under LGPL version 3 or later, [License]. LGPLv3 is additional permissions on top of GPLv3.
Styled Screenshots is maintained by the following GitHub team-members:
with community support please contact with us if you have some question or proposition.
The project uses SemVer for versioning. For the versions available, see the tags on this repository.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us (emoji key).
This project follows the all-contributors specification. Contributions of any kind are welcome!
See also the list of contributors who participated in this project.
Like Styled Screenshots ? Consider buying me a coffee :)