forgot to remove sudo
All checks were successful
On_Push / build (push) Successful in 18s

This commit is contained in:
PeaceNira 2025-02-01 19:37:37 +00:00
parent 6d9714c296
commit 8e7fec1eee

View file

@ -15,7 +15,6 @@ jobs:
# Step 2: Install latest Hugo # Step 2: Install latest Hugo
- name: Install Hugo - name: Install Hugo
run: | run: |
sudo apt-get update
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -Po '"tag_name": "\K[^"]+' | sed 's/^v//') HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -Po '"tag_name": "\K[^"]+' | sed 's/^v//')
wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-amd64.deb wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-amd64.deb
dpkg -i ./hugo_extended_${HUGO_VERSION}_Linux-amd64.deb dpkg -i ./hugo_extended_${HUGO_VERSION}_Linux-amd64.deb