From 2a6b2bcf650156cd33517dfcc30a7a0ff7111742 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 9 Feb 2024 11:46:26 +0100 Subject: [PATCH] reintroduce optimization --- .github/workflows/CI_readme_sync.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI_readme_sync.yml b/.github/workflows/CI_readme_sync.yml index a4c6f7fc2..859b78567 100644 --- a/.github/workflows/CI_readme_sync.yml +++ b/.github/workflows/CI_readme_sync.yml @@ -47,10 +47,8 @@ jobs: README_API_KEY: ${{ secrets.README_API_KEY }} ALL_CHANGED_DIRS: ${{ steps.changed-files.outputs.all_changed_files }} run: | - for d in "$ALL_CHANGED_DIRS"; do - cd $d - hatch run docs - cd - + for d in $ALL_CHANGED_DIRS; do + (cd $d; hatch run docs) done mkdir tmp find . -name "_readme_*.md" -exec cp "{}" tmp \;