Compare commits
2 commits
8651c42fd7
...
8d11d2c3ec
Author | SHA1 | Date | |
---|---|---|---|
8d11d2c3ec | |||
a6b514e1df |
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ jobs:
|
||||||
echo "::set-output name=folders::$folders"
|
echo "::set-output name=folders::$folders"
|
||||||
|
|
||||||
- name: Deploy to hosts
|
- name: Deploy to hosts
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
IFS=' ' read -r -a folder_array <<< "${{ steps.detect-changes.outputs.folders }}"
|
IFS=' ' read -r -a folder_array <<< "${{ steps.detect-changes.outputs.folders }}"
|
||||||
for folder in "${folder_array[@]}"; do
|
for folder in "${folder_array[@]}"; do
|
||||||
|
@ -86,6 +87,7 @@ jobs:
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo "Deploying to $target_host for folder $folder"
|
echo "Deploying to $target_host for folder $folder"
|
||||||
|
|
||||||
echo "target_host=$target_host" >> $GITHUB_ENV
|
echo "target_host=$target_host" >> $GITHUB_ENV
|
||||||
echo "folder=$folder" >> $GITHUB_ENV
|
echo "folder=$folder" >> $GITHUB_ENV
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue