This commit is contained in:
Matt Reeves 2024-12-06 00:15:03 -05:00
parent f8ada85af7
commit a6b514e1df

View file

@ -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