fix: debug

This commit is contained in:
2025-11-09 09:01:25 +01:00
parent 241ead5cd0
commit ddddaaac8d

View File

@@ -21,6 +21,7 @@ jobs:
run: | run: |
apt-get update -y apt-get update -y
apt-get install -y wget tar jq # Install necessary components apt-get install -y wget tar jq # Install necessary components
ldd --version
# Use the GitHub API to get information about the latest release, then use jq to find out the tag name # Use the GitHub API to get information about the latest release, then use jq to find out the tag name
latest=$(wget -qO- https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name') latest=$(wget -qO- https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name')
echo "Latest Hugo version: $latest" echo "Latest Hugo version: $latest"
@@ -30,6 +31,7 @@ jobs:
tar -xzf hugo.tar.gz hugo tar -xzf hugo.tar.gz hugo
mv hugo /usr/local/bin/hugo mv hugo /usr/local/bin/hugo
chmod +x /usr/local/bin/hugo chmod +x /usr/local/bin/hugo
ldd /usr/local/bin/hugo
hugo version hugo version
- name: Build site - name: Build site