From a2e265377645acf7b5ef82e80995174fa0016443 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 19 Nov 2023 17:16:47 +0100 Subject: [PATCH] ci(workflow): bypass npx prompt --- .github/workflows/capture-website.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/capture-website.yml b/.github/workflows/capture-website.yml index 34cec9c4f3d..0e70cf00818 100644 --- a/.github/workflows/capture-website.yml +++ b/.github/workflows/capture-website.yml @@ -37,14 +37,15 @@ jobs: - name: Screenshot Website run: | - npx capture-website-cli@4.0.0 \ - --type webp \ - --quality=0.7 \ - --launch-options='{"headless": "new"}' \ - --output screenshot.webp \ - --overwrite \ - --dark-mode \ - https://docs.okp4.network/ + npx --yes \ + capture-website-cli@4.0.0 \ + --type webp \ + --quality=0.7 \ + --launch-options='{"headless": "new"}' \ + --output screenshot.webp \ + --overwrite \ + --dark-mode \ + https://docs.okp4.network/ - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5