Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Prevent `docs-preview` from running for forks (#693)

Dhruv Bhanushali03362db8caed
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 6427fa2da..5676ab79e 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -285,7 +285,7 @@ jobs:
docs-preview:
name: Publish preview of developer docs for the branch
runs-on: ubuntu-latest
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'pull_request' && github.repository == 'WordPress/openverse-api'
needs:
- build-images