Browse Source

Only include production branches for docs deployment

Closes gh-32434
pull/32482/head
Stéphane Nicoll 2 years ago
parent
commit
30087e1aea
  1. 11
      .github/workflows/deploy-docs.yml

11
.github/workflows/deploy-docs.yml

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

Loading…
Cancel
Save