Skip to content

Commit 71a4d3d

Browse files
committed
ci(gh-pages): update gh-pages workflow
1 parent 8430611 commit 71a4d3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
- name: Update Language Files
4646
if: steps.dry_run_lang.outputs.lang_updated == 'true'
4747
run: |
48-
TOTAL_POSTS=$(python scripts/update_lang.py --dry_run | grep "Total Markdown files to process:" | awk '{print $NF}')
48+
DRY_RUN_LANG_OUTPUT=$(python scripts/update_lang.py --dry_run)
49+
TOTAL_POSTS=$(echo "$DRY_RUN_LANG_OUTPUT" | grep "Total Markdown files to process:" | awk '{print $NF}')
4950
echo "Total posts to process: $TOTAL_POSTS"
5051
5152
if [[ "$TOTAL_POSTS" -eq 0 ]]; then

0 commit comments

Comments
 (0)