diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad10722a..f7b1b231 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,17 +32,13 @@ jobs: - name: Apply config update run: | for changed_file in ${{ steps.files.outputs.all }}; do - echo "Changed file: $changed_file" - if [[ $file == *"docker-compose.yml"* ]]; then - app_name=$(echo $file | cut -d'/' -f 2) + echo "Changed file: $changed_file" # example: apps/jackett/docker-compose.yml + if [[ $changed_file == *"docker-compose.yml"* ]]; then + app_name=$(echo $changed_file | cut -d'/' -f 2) echo "App name: $app_name" ./.github/workflows/renovate-app-version.sh $app_name fi done - git diff - - - name: Debug - run: git diff - name: Commit and push changes run: |