docs: Update workflow to fix broken pr previews (#2181)

This commit is contained in:
Adewale Abati 2025-04-14 15:42:30 +02:00 committed by GitHub
parent da42a46581
commit e8d6bd8a8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,8 +4,6 @@ on:
push:
branches:
- main
pull_request:
paths:
- 'documentation/**'
@ -48,3 +46,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: documentation/build
keep_files: true # This preserves existing files in gh-pages branch especially for previews