From 84ce58fdb4fcd55084a16841076a9b8fe9fd3294 Mon Sep 17 00:00:00 2001 From: Matthew Defenderfer <mdefende@uab.edu> Date: Wed, 17 Jul 2024 08:23:31 -0500 Subject: [PATCH] break up script section and add '' --- .gitlab-ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 271c730..9422a92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,12 +15,11 @@ febio-dl: stage: pre-build script: - apk add --no-cache curl - - | - cmd="aws s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --output text" - echo "Presign Command: $cmd" - URL=$(cmd) - echo "Pre-signed URL: $URL" - curl -o febio_installer.zip "$URL" + - 'cmd="aws s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --output text"' + - 'echo "Presign Command: $cmd"' + - 'URL=$(cmd)' + - 'echo "Pre-signed URL: $URL"' + - 'curl -o febio_installer.zip "$URL"' artifacts: paths: - "installer/" -- GitLab