We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8430611 commit 71a4d3dCopy full SHA for 71a4d3d
.github/workflows/gh-pages.yml
@@ -45,7 +45,8 @@ jobs:
45
- name: Update Language Files
46
if: steps.dry_run_lang.outputs.lang_updated == 'true'
47
run: |
48
- TOTAL_POSTS=$(python scripts/update_lang.py --dry_run | grep "Total Markdown files to process:" | awk '{print $NF}')
+ 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}')
50
echo "Total posts to process: $TOTAL_POSTS"
51
52
if [[ "$TOTAL_POSTS" -eq 0 ]]; then
0 commit comments