From e9003b44422dc7d49bf3fa7224ba2fb98884c304 Mon Sep 17 00:00:00 2001
From: Matthew Defenderfer <mdefende@uab.edu>
Date: Wed, 17 Jul 2024 08:43:47 -0500
Subject: [PATCH] change to basic presign command

---
 .gitlab-ci.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b77325..cba0b54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,12 +16,8 @@ febio-dl:
   variables:
     CI_DEBUG_TRACE: "true"
   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"'
+    - URL=aws s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --output text
+    - echo "$URL"
   artifacts:
     paths:
       - "installer/"
-- 
GitLab