From a604046f19e7f4442d8d9a9319918f7f12e4cb75 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 28 May 2024 18:10:18 +0200 Subject: [PATCH] Do not run the test deployment in any forks Signed-off-by: Daniel Ziegenberg --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 46dfa4d0c5..905131d317 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,7 @@ on: jobs: build: + if: github.repository_owner == 'opencast' runs-on: ubuntu-latest steps: - name: checkout code @@ -44,6 +45,7 @@ jobs: path: ./gh-pages deploy: + if: github.repository_owner == 'opencast' needs: build permissions: