Only include production branches for docs deployment

Closes gh-32434
This commit is contained in:
Stéphane Nicoll
2024-03-14 17:42:02 +01:00
parent cd5758e610
commit 30087e1aea

View File

@@ -1,12 +1,15 @@
name: Deploy Docs
on:
push:
branches-ignore: [ gh-pages ]
tags: '**'
branches-ignore:
- 'gh-pages'
branches:
- 'main'
- '*.x'
tags:
- 'v*'
repository_dispatch:
types: request-build-reference # legacy
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
workflow_dispatch:
permissions:
actions: write