docs: Update workflow to fix broken pr previews (#2181)
This commit is contained in:
@@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
pull_request:
|
|
||||||
paths:
|
paths:
|
||||||
- 'documentation/**'
|
- 'documentation/**'
|
||||||
|
|
||||||
@@ -48,3 +46,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: documentation/build
|
publish_dir: documentation/build
|
||||||
|
keep_files: true # This preserves existing files in gh-pages branch especially for previews
|
||||||
|
|||||||
Reference in New Issue
Block a user