From 5228923b69f1364fd90ca0a4c71fe13ed5170f8b Mon Sep 17 00:00:00 2001 From: Vojta Mrazek Date: Fri, 18 Jun 2021 12:40:56 +0200 Subject: [PATCH] doc on main branch only --- .github/workflows/generate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 53e6e11..38c8b3d 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -54,10 +54,11 @@ jobs: cd tests bash test_circuits.sh - # This workflow contains a single job called "build" + # Only on main thread documentation: runs-on: ubuntu-latest needs: test + if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v2 - name: Set up Python 3.x