Upload artifact for fallback
This commit is contained in:
parent
8e2bb16ffb
commit
6eccddc466
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build_docs.yml
vendored
3
.github/workflows/build_docs.yml
vendored
|
@ -128,13 +128,16 @@ jobs:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Build web book
|
- name: Build web book
|
||||||
|
id: build-normal
|
||||||
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}"
|
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}"
|
||||||
|
|
||||||
- name: Build web book with missing translations
|
- name: Build web book with missing translations
|
||||||
if: failure()
|
if: failure()
|
||||||
|
id: build-with-missing
|
||||||
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}" --allow-missing
|
run: $HEXDOC --lang "${{ matrix.lang }}" -o _site --clean --is-release "${{ needs.build.outputs.release }}" --allow-missing
|
||||||
|
|
||||||
- name: Upload temporary Pages artifact
|
- name: Upload temporary Pages artifact
|
||||||
|
if: steps.build-normal.outcome == 'success' || steps.build-with-missing.outcome == 'success'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: github-pages-tmp
|
name: github-pages-tmp
|
||||||
|
|
Loading…
Reference in a new issue