Skip to content

Commit ec5d0be

Browse files
committed
Debug
1 parent 4c52576 commit ec5d0be

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,19 @@ jobs:
119119
- name: Summarize the optimization run
120120
run: |
121121
echo '# Optimization run' >> "$GITHUB_STEP_SUMMARY"
122+
echo '<details><summary>Log</summary><pre>' >> "$GITHUB_STEP_SUMMARY"
122123
gh run view $deploy_run_id -j $optimize_job_id -R originlab/${{ matrix.site }} --log \
123124
| awk '/find pages\// {f=1} /upload-artifact/ {f=0} f' \
124125
| cut -f3- | cut -d' ' -f2- \
125-
| grep '##[warning]' \
126-
| sed -E \
127-
-e 's/\r//g' \
128-
-e 's/\^\[\[[0-9;]*[a-zA-Z]//g' \
129-
-e 's/^##\[group\](.*)/<details><summary>\1<\/summary><pre>/g' \
130-
-e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
131-
-e 's/^##\[warning\](.*)/> [!WARNING]\n> \1/g' \
126+
# | grep '##[warning]' \
127+
# | sed -E \
128+
# -e 's/\r//g' \
129+
# -e 's/\^\[\[[0-9;]*[a-zA-Z]//g' \
130+
# -e 's/^##\[group\](.*)/<details><summary>\1<\/summary><pre>/g' \
131+
# -e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
132+
# -e 's/^##\[warning\](.*)/> [!WARNING]\n> \1/g' \
132133
>> "$GITHUB_STEP_SUMMARY"
134+
echo '</pre></details>' >> "$GITHUB_STEP_SUMMARY"
133135
134136
- name: Summarize artifacts
135137
run: |

0 commit comments

Comments
 (0)