Skip to content

Commit 6070c6d

Browse files
committed
fix: silence the wget in workflow hugo.yaml
1 parent 4711c9d commit 6070c6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/hugo.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Install Hugo CLI
24-
# Manually set hugo version, latest by default
2524
env:
25+
# Manually set hugo version, latest by default
2626
HUGO_VERSION: ""
2727
run: |
2828
if [ -z $HUGO_VERSION ]; then
2929
echo "[INFO] no HUGO_VERSION specified, use latest";
3030
HUGO_VERSION=`curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r .tag_name | sed 's/^.//'`;
3131
fi
32-
echo "[INFO] Hugo version: ${HUGO_VERSION}"
33-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
32+
echo "[INFO] HUGO_VERSION: ${HUGO_VERSION}"
33+
wget -qO ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
3434
sudo dpkg -i ${{ runner.temp }}/hugo.deb
3535
- name: Checkout
3636
uses: actions/checkout@v4

0 commit comments

Comments
 (0)