Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
(Slightly) speed up CI by skipping docs steps (#643)
Dhruv Bhanushalic3bc19fdb523
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex ab7e44ab3..6f5564d47 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -107,14 +107,14 @@ jobs:run: just ing-testlocal- name: Upload ingestion test logs- if: ${{ always() }}+ if: always()uses: actions/upload-artifact@v2with:name: ing_logspath: ingestion_server/test/ingestion_logs.txt- name: Print ingestion test logs- if: ${{ always() }}+ if: always()run: cat ingestion_server/test/ingestion_logs.txttest-api:@@ -146,22 +146,24 @@ jobs:run: just api-test -T- name: Print API test logs- if: ${{ always() }}+ if: always()run: |just logs > api_logscat api_logs- name: Upload API test logs- if: ${{ always() }}+ if: always()uses: actions/upload-artifact@v2with:name: api_logspath: api_logs- name: Make developer docs+ if: github.event_name == 'push' && github.repository == 'WordPress/openverse-api'run: just sphinx-make -T- name: Upload developer docs+ if: github.event_name == 'push' && github.repository == 'WordPress/openverse-api'uses: actions/upload-artifact@v2with:name: docs