Skip to content

Commit d39ee6f

Browse files
committed
Add always() to docs and container conditionals
1 parent aac4043 commit d39ee6f

File tree

1 file changed

+2
-2
lines changed
  • template/{% if git_platform=="github.com" %}.github{% endif %}/workflows

1 file changed

+2
-2
lines changed

template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
{% endraw %}{% if docker %}
3737
container:
3838
needs: [check, test]
39-
if: needs.check.outputs.branch-pr == ''
39+
if: always() && needs.check.outputs.branch-pr == ''
4040
uses: ./.github/workflows/_container.yml
4141
with:
4242
publish: ${{needs.test.result == 'success'}}
@@ -46,7 +46,7 @@ jobs:
4646
{% endif %}{% if sphinx %}
4747
docs:
4848
needs: [check, test]
49-
if: needs.check.outputs.branch-pr == ''
49+
if: always() && needs.check.outputs.branch-pr == ''
5050
uses: ./.github/workflows/_docs.yml
5151
with:
5252
publish: ${{needs.test.result == 'success'}}

0 commit comments

Comments
 (0)