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

Commit

Permalink
Clear our destination directories before copying files to GitHub page…
Browse files Browse the repository at this point in the history
…s. (#10869)

This should fix stale deleted files being still accessible.
  • Loading branch information
clokep committed Sep 21, 2021
1 parent ba7a91a commit ebd8baf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,5 @@ jobs:
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_files: true
publish_dir: ./book
destination_dir: ./${{ steps.vars.outputs.branch-version }}
1 change: 1 addition & 0 deletions changelog.d/10869.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Properly remove deleted files from GitHub pages when generating the documentation.

0 comments on commit ebd8baf

Please sign in to comment.