From c144114c6929acbddfc25fa239133ad9eabef6bd Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 7 Feb 2023 08:33:03 +0200 Subject: [PATCH 1/2] Run builddocs only for pushes to master branch in nosqlbench/nosqlbench --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed002fbf7..ed7c23fdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,6 +79,7 @@ jobs: builddocs: needs: build runs-on: ubuntu-20.04 + if: ${{ github.repository == 'nosqlbench/nosqlbench' && github.event_name == 'push' && github.ref_name == 'master' }} steps: - name: set git username From 8e41b41bb14782f4882961fe92ffc407da00bd74 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 7 Feb 2023 23:53:21 +0200 Subject: [PATCH 2/2] Target main branch with builddocs --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed7c23fdf..20f1f52b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: builddocs: needs: build runs-on: ubuntu-20.04 - if: ${{ github.repository == 'nosqlbench/nosqlbench' && github.event_name == 'push' && github.ref_name == 'master' }} + if: ${{ github.repository == 'nosqlbench/nosqlbench' && github.event_name == 'push' && github.ref_name == 'main' }} steps: - name: set git username