From 8faf4165b68a671a54d94bc70230d307a24278ed Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Sun, 11 Dec 2022 17:38:58 +0100 Subject: [PATCH] CI: Limit "deploy doc" job to master branch --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c8208a158..41aaa0251 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -154,7 +154,7 @@ jobs: # Deployment job deploy: - if: github.repository_owner == 'ros-planning' + if: github.repository_owner == 'ros-planning' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest needs: doc environment: