Skip to content

Commit 7930d9e

Browse files
CopilotDavidKRK
andauthored
fix: harden youtube section workflow script execution (#249)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: David KRK <136035295+DavidKRK@users.noreply.github.com>
1 parent b9894c7 commit 7930d9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/youtube-section-update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
python-version: '3.11'
2828

2929
- name: Injecter les videos et le CSS via Python
30-
shell: python
30+
shell: bash
3131
run: |
32+
python <<'PY'
3233
import json
3334
import re
3435
import os
@@ -111,6 +112,7 @@ jobs:
111112
with open(css_path, 'w', encoding='utf-8') as f:
112113
f.write(css_content)
113114
print('style.css cree avec CSS YouTube')
115+
PY
114116
115117
- name: Commit et push
116118
run: |

0 commit comments

Comments
 (0)