Skip to content

Commit a79e6e6

Browse files
committed
Add raw tags around blocks with gh action expressions
1 parent a86f8c2 commit a79e6e6

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ jobs:
3333
python-version: ${{ matrix.python-version }}
3434
secrets:
3535
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
36-
{% endraw %}{% if docker %}
36+
{% endraw %}{% if docker %}{% raw %}
3737
container:
3838
needs: [check, test]
3939
if: always() && needs.check.outputs.branch-pr == ''
4040
uses: ./.github/workflows/_container.yml
4141
with:
42-
publish: ${{needs.test.result == 'success'}}
42+
publish: ${{ needs.test.result == 'success' }}
4343
permissions:
4444
contents: read
4545
packages: write
46-
{% endif %}{% if sphinx %}
46+
{% endraw %}{% endif %}{% if sphinx %}{% raw %}
4747
docs:
4848
needs: [check, test]
4949
if: always() && needs.check.outputs.branch-pr == ''
5050
uses: ./.github/workflows/_docs.yml
5151
with:
52-
publish: ${{needs.test.result == 'success'}}
52+
publish: ${{ needs.test.result == 'success' }}
5353

54-
{% endif %}
54+
{% endraw %}{% endif %}
5555
dist:
5656
needs: check
5757
if: needs.check.outputs.branch-pr == ''

0 commit comments

Comments
 (0)