From 4478cbfecf8f2ab96681e9cb87254095c36c6820 Mon Sep 17 00:00:00 2001 From: numborde Date: Sun, 26 Apr 2026 00:57:27 +0330 Subject: [PATCH] Update action.yml --- action.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) 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