diff --git a/action.yml b/action.yml index 7a1d4e8..0f47d44 100644 --- a/action.yml +++ b/action.yml @@ -1,31 +1,6 @@ -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' +- name: Screenshot Website + uses: swinton/screenshot-website@v1.x + with: + source: https://huggingface.co/ + destination: screenshot.png + full-page: true