From 30087e1aea944f59ad57cb36b342523d2370cbf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 14 Mar 2024 17:42:02 +0100 Subject: [PATCH] Only include production branches for docs deployment Closes gh-32434 --- .github/workflows/deploy-docs.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index f3e899c4fe0..f08fdcac54e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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