1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

fix yq command syntax

This commit is contained in:
Sylvain 2021-02-10 11:34:16 +01:00
parent 8417c91e6a
commit a01eba3902

View File

@ -26,7 +26,7 @@ add_mount()
{
# shellcheck disable=SC2016
# we don't want to expand ${PWD}
yq w docker-compose.yml "services.$SERVICE.volumes[+]" '- ${PWD}/payment_schedules:/usr/src/app/payment_schedules'
yq w -i docker-compose.yml "services.$SERVICE.volumes[+]" '${PWD}/payment_schedules:/usr/src/app/payment_schedules'
}
proceed()