From 2ece038c373826b608fed01d797529a7ab1e277b Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Fri, 25 Oct 2024 16:34:28 -0400 Subject: [PATCH] use wildcard pattern --- .github/workflows/deploy-book.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index c0a47e5..4ed6cb3 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -70,7 +70,7 @@ jobs: branch: gh-pages folder: ${{ inputs.publish_dir }} clean: true - clean-exclude: "preview" # keep existing previews from other PRs + clean-exclude: preview/* # keep existing previews from other PRs target-folder: ${{ inputs.destination_dir }} - name: Deploy to GitHub Pages with custom domain @@ -82,6 +82,6 @@ jobs: branch: gh-pages folder: ${{ inputs.publish_dir }} clean: true - clean-exclude: "preview" # keep existing previews from other PRs + clean-exclude: preview/* # keep existing previews from other PRs target-folder: ${{ inputs.destination_dir }} CNAME: ${{ inputs.cname }} # how can we set this for the new action?