-
Notifications
You must be signed in to change notification settings - Fork 24
/
action.yml
31 lines (31 loc) · 888 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'screenshot-website'
description: 'Capture screenshot of a website'
inputs:
source:
description: 'Source of the content to be captured, may be a URL or HTML content'
required: true
destination:
description: 'The destination filename the captured website will be written to'
required: false
default: 'screenshot.png'
delay:
description: 'The number of seconds to wait after the page finished loading before capturing the screenshot'
required: false
default: '0'
full-page:
description: 'Capture the full scrollable page, not just the viewport'
required: false
default: 'false'
width:
description: 'Page width'
required: false
default: '1280'
outputs:
path:
description: 'The filesystem path to the website screenshot'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'camera'
color: 'purple'