Skip to content

Commit b7d5e2f

Browse files
committed
Generate docs even on analysis workflow failure.
1 parent 85b13d7 commit b7d5e2f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- 'main'
77
- 'analysis/**'
8-
- 'test-docs'
98

109
jobs:
1110
algorithms:

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
3939
# Action to download artifacts from a different workflow (analysis.yml)
4040
- name: 'Download artifact'
41+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
4142
uses: actions/github-script@v6
4243
with:
4344
script: |
@@ -64,7 +65,6 @@ jobs:
6465
- name: Build html
6566
run: |
6667
mkdir docs/_static
67-
ls
6868
mv *.pdf docs/_static/
6969
sphinx-apidoc -o docs src
7070
cd docs/

0 commit comments

Comments
 (0)