From 0df6c384474543ff9e6c9a1c538b46195faddb03 Mon Sep 17 00:00:00 2001 From: Sergey Rybakov Date: Wed, 30 Aug 2023 17:17:42 +0600 Subject: [PATCH] main branch condition in build_docs job --- .github/workflows/manual.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index e328cf9..19d9011 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -2,11 +2,10 @@ name: manual_docs on: workflow_dispatch: - branches: - - main jobs: build_docs: + if: ${{ github.ref == 'refs/heads/main'}} uses: openweathermap/deker-actions/.github/workflows/docs_build.yml@master with: python-version: '3.9'