Better output when the fallback is used
This commit is contained in:
parent
b18d7bdad5
commit
582c12721f
1 changed files with 8 additions and 2 deletions
10
.github/workflows/build_docs.yml
vendored
10
.github/workflows/build_docs.yml
vendored
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue