Better output when the fallback is used

This commit is contained in:
object-Object 2023-09-02 01:03:52 -04:00
parent b18d7bdad5
commit 582c12721f

View file

@ -127,11 +127,13 @@ jobs:
name: docgen-build
python-version: "3.11"
- name: Build web book
- name: Generate web book
id: gen-normal
continue-on-error: true
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}"
- name: Build web book with missing translations
- name: Generate web book with missing translations
if: failure()
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}" --allow-missing
- name: Upload temporary Pages artifact
@ -140,6 +142,10 @@ jobs:
name: github-pages-tmp
path: _site
- name: Fail if the first generate step failed
if: steps.gen-normal.outcome == 'failure'
run: exit 1
bundle-pages:
runs-on: ubuntu-latest
needs: [build, generate]