remove left-overs
Some checks failed
Hugo / build (push) Failing after 13s

This commit is contained in:
brookee 2024-02-29 19:57:46 -05:00
parent 09db82339b
commit d4302416e7

View file

@ -16,8 +16,7 @@ jobs:
- name: Grab packages
run: |
apt-get update && \
apt-get install -y jq rsync tar wget && \
chmod +x hugo
apt-get install -y jq rsync tar wget && \
- name: Get latest Hugo version
run: |
url=$(curl --silent "https://api.github.com/repos/gohugoio/hugo/releases/latest" | jq -r '.assets[] | select(.name | contains("linux-amd64.tar.gz")) | .browser_download_url' | grep -E 'hugo_[0-9]+\.[0-9]+\.[0-9]+_linux-amd64.tar.gz')