Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ebd8baf

Browse files
authored
Clear our destination directories before copying files to GitHub pages. (#10869)
This should fix stale deleted files being still accessible.
1 parent ba7a91a commit ebd8baf

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@ jobs:
6161
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
6262
with:
6363
github_token: ${{ secrets.GITHUB_TOKEN }}
64-
keep_files: true
6564
publish_dir: ./book
6665
destination_dir: ./${{ steps.vars.outputs.branch-version }}

changelog.d/10869.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Properly remove deleted files from GitHub pages when generating the documentation.

0 commit comments

Comments
 (0)