Skip to content

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

Do not run docs preview action on main branch (#683)

Madison Swain-Bowdenc78453f12726
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 93247c492..140437664 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -285,6 +285,7 @@ jobs:
docs-preview:
name: Publish preview of developer docs for the branch
runs-on: ubuntu-latest
+ if: github.ref != 'refs/heads/main'
needs:
- build-images