From 99f1da3bd9703fbb96453e8ed240e8d7396f7ff6 Mon Sep 17 00:00:00 2001 From: Michael Sleigh Date: Fri, 26 Jan 2024 09:42:16 +0000 Subject: [PATCH] Disable deployment step in forks --- .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 437109f..1d6aa0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: build-command: "make html" - name: Deploy to sites - if: github.event_name != 'pull_request' + if: github.repository == 'ecmwf-ifs/ifs-arpege-coding-standards' && github.event_name != 'pull_request' env: SITES_TOKEN: ${{ secrets.SITES_TOKEN_IFS_CODING_STANDARDS }} run: |