From a6b514e1dfcbc0fc5fafe41b8c2c03b798ea869f Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Fri, 6 Dec 2024 00:15:03 -0500 Subject: [PATCH] fix cd --- .forgejo/workflows/ansibleCD.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/ansibleCD.yml b/.forgejo/workflows/ansibleCD.yml index 89c8c0b..5d879e9 100644 --- a/.forgejo/workflows/ansibleCD.yml +++ b/.forgejo/workflows/ansibleCD.yml @@ -27,6 +27,7 @@ jobs: echo "::set-output name=folders::$folders" - name: Deploy to hosts + shell: bash run: | IFS=' ' read -r -a folder_array <<< "${{ steps.detect-changes.outputs.folders }}" for folder in "${folder_array[@]}"; do @@ -86,6 +87,7 @@ jobs: ;; esac echo "Deploying to $target_host for folder $folder" + echo "target_host=$target_host" >> $GITHUB_ENV echo "folder=$folder" >> $GITHUB_ENV done