Skip to content

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

Use event_name over event for publish conditional (#454)

Madison Swain-Bowden1088d100f15b
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 9620bd4ae..ae0e7835a 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -138,7 +138,7 @@ jobs:
push:
name: Publish Docker images
runs-on: ubuntu-latest
- if: github.event == 'release' && github.event.action == 'published'
+ if: github.event_name == 'release' && github.event.action == 'published'
needs:
- test-ing
- test-api