Skip to content

Commit

Permalink
Merge pull request #132 from brian-rose/fix-exclude
Browse files Browse the repository at this point in the history
Fix syntax for clean-exclude
  • Loading branch information
brian-rose authored Oct 25, 2024
2 parents fd5a718 + 2ece038 commit 1c77d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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?

0 comments on commit 1c77d8e

Please sign in to comment.