From 2a8821e1d901732dfe483067fc7e65065100b08b Mon Sep 17 00:00:00 2001 From: askiiart Date: Fri, 1 Sep 2023 21:55:04 -0500 Subject: [PATCH] try another thing --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b00ecb8..0100216 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,10 @@ steps: commands: - 'apt update' - 'apt install -y curl' - - 'curl $(curl -s https://api.github.com/repos/sass/dart-sass/releases/latest | grep "browser_download_url.*dart-sass-.*-linux-x64.tar.gz" | cut -d : -f 2,3 | tr -d \") -LO' - - 'curl $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*hugo_.*_linux-amd64.tar.gz" | cut -d : -f 2,3 | tr -d \") -LO' + - 'SASS_URL=$(curl -s https://api.github.com/repos/sass/dart-sass/releases/latest | grep "browser_download_url.*dart-sass-.*-linux-x64.tar.gz" | cut -d : -f 2,3 | tr -d \")' + - 'curl $SASS_URL -LO' + - 'HUGO_URL=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*hugo_.*_linux-amd64.tar.gz" | cut -d : -f 2,3 | tr -d \")'' + - 'curl $HUGO_URL -LO' - 'tar -xf dart-sass-*.tar.gz' - 'tar -xf hugo_*_linux-amd64.tar.gz --one-top-level' - name: build and publish docker image