Upload artifact for fallback

This commit is contained in:
object-Object 2023-09-02 00:55:15 -04:00
parent 8e2bb16ffb
commit 6eccddc466

View file

@ -128,13 +128,16 @@ jobs:
python-version: "3.11"
- name: Build web book
id: build-normal
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}"
- name: Build web book with missing translations
if: failure()
id: build-with-missing
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}" --allow-missing
- name: Upload temporary Pages artifact
if: steps.build-normal.outcome == 'success' || steps.build-with-missing.outcome == 'success'
uses: actions/upload-artifact@v3
with:
name: github-pages-tmp