This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 4cc528b18 [DOCS] Skip docs deploy on forks (#1351)
4cc528b18 is described below

commit 4cc528b18ed4a4edd0ec4d129505629e7a943281
Author: John Bampton <[email protected]>
AuthorDate: Tue Apr 23 02:04:16 2024 +1000

    [DOCS] Skip docs deploy on forks (#1351)
    
    
https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution#example-only-run-job-for-specific-repository
---
 .github/workflows/docs.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7dd7a2794..c5e6e7800 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -53,7 +53,7 @@ jobs:
     - run: mkdocs build
     - run: git fetch origin website --depth=1
     - name: Deploy the doc to the website branch
-      if: ${{ github.event_name != 'pull_request' }}
+      if: ${{ github.event_name != 'pull_request' && github.repository == 
'apache/sedona' }}
       run: mike deploy latest-snapshot -b website -p
     - run: mkdir staging
     - run: cp -r site/* staging/

Reply via email to