File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ jobs:
200
200
201
201
- name : Build live doc
202
202
id : buildlivedoc
203
- if : always() && steps.copy.outcome == 'success' && github.ref == 'refs/heads/develop'
203
+ if : (success() || failure()) && steps.copy.outcome == 'success' && github.repository == 'sagemath/sage ' && github.ref == 'refs/heads/develop'
204
204
run : |
205
205
set -ex
206
206
export SAGE_USE_CDNS=yes
@@ -215,7 +215,7 @@ jobs:
215
215
216
216
- name : Copy live doc
217
217
id : copylivedoc
218
- if : always( ) && steps.buildlivedoc.outcome == 'success'
218
+ if : (success() || failure() ) && steps.buildlivedoc.outcome == 'success'
219
219
run : |
220
220
set -ex
221
221
mkdir -p ./livedoc
@@ -224,7 +224,7 @@ jobs:
224
224
zip -r livedoc.zip livedoc
225
225
226
226
- name : Upload live doc
227
- if : always( ) && steps.copylivedoc.outcome == 'success'
227
+ if : (success() || failure() ) && steps.copylivedoc.outcome == 'success'
228
228
uses : actions/upload-artifact@v3
229
229
with :
230
230
name : livedoc
You can’t perform that action at this time.
0 commit comments