Compare commits

...

2 commits

Author SHA1 Message Date
8d11d2c3ec Merge branch 'main' of https://git.mafyuh.dev/mafyuh/iac 2024-12-06 00:15:03 -05:00
a6b514e1df fix cd 2024-12-06 00:15:03 -05:00

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