fix(release): pass verify base url over ssh
This commit is contained in:
parent
cf1ce8a4db
commit
239e30472b
@ -7,12 +7,12 @@ served_domains="${SERVED_DOMAINS:?SERVED_DOMAINS is required}"
|
||||
expected_image_ref="${EXPECTED_FRONTEND_IMAGE:?EXPECTED_FRONTEND_IMAGE is required}"
|
||||
request_base_url="${REQUEST_BASE_URL:-http://127.0.0.1:3000}"
|
||||
|
||||
remote_env="REQUEST_BASE_URL=$(printf '%q' "${request_base_url}")"
|
||||
remote_args=(
|
||||
"$(printf '%q' "${canonical_domain}")"
|
||||
"$(printf '%q' "${served_domains}")"
|
||||
"$(printf '%q' "${expected_image_ref}")"
|
||||
"$(printf '%q' "${request_base_url}")"
|
||||
)
|
||||
|
||||
ssh -o BatchMode=yes "root@${target_host}" "${remote_env} bash -s -- ${remote_args[*]}" \
|
||||
ssh -o BatchMode=yes "root@${target_host}" "bash -s -- ${remote_args[*]}" \
|
||||
< scripts/github-actions/verify-frontend-release.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user