Don't bother building docs if not on main

Refs ##1442
pull/1447/head
Simon Willison 2021-08-19 14:17:44 -07:00 zatwierdzone przez GitHub
rodzic d84e574e59
commit 4eb3ae40fb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -36,6 +36,7 @@ jobs:
- name: Build fixtures.db
run: python tests/fixtures.py fixtures.db fixtures.json plugins --extra-db-filename extra_database.db
- name: Build docs.db
if: ${{ github.ref == 'refs/heads/main' }}
run: |-
cd docs
sphinx-build -b xml . _build