Skip to content
Snippets Groups Projects
Unverified Commit ebd8baf6 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Clear our destination directories before copying files to GitHub pages. (#10869)

This should fix stale deleted files being still accessible.
parent ba7a91ae
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
Properly remove deleted files from GitHub pages when generating the documentation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment