mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Clear our destination directories before copying files to GitHub pages. (#10869)
This should fix stale deleted files being still accessible.
This commit is contained in:
parent
ba7a91aea5
commit
ebd8baf61f
1
.github/workflows/docs.yaml
vendored
1
.github/workflows/docs.yaml
vendored
@ -61,6 +61,5 @@ jobs:
|
|||||||
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
|
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
keep_files: true
|
|
||||||
publish_dir: ./book
|
publish_dir: ./book
|
||||||
destination_dir: ./${{ steps.vars.outputs.branch-version }}
|
destination_dir: ./${{ steps.vars.outputs.branch-version }}
|
||||||
|
1
changelog.d/10869.doc
Normal file
1
changelog.d/10869.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Properly remove deleted files from GitHub pages when generating the documentation.
|
Loading…
Reference in New Issue
Block a user