From a0cc85d0787097982cddfffa77e2896e78644cbe Mon Sep 17 00:00:00 2001 From: Stephan Ringel Date: Thu, 22 Jun 2023 13:22:43 +0200 Subject: [PATCH] fix: show preview if any file(s) in the docs folder change (#43) --- .github/workflows/preview.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index eb8eb1ebb6..8210237b42 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -24,11 +24,9 @@ jobs: with: json: true json_raw_format: true - files: | - docs/**/*.adoc - docs/**/book.yml + files: docs - - name: Show preview if any *.adoc or book.yml in the docs folder change + - name: Show preview if any file(s) in the docs folder change if: steps.changed-files-specific.outputs.any_changed == 'true' uses: actions/github-script@v6 with: