hugo extended
All checks were successful
Hugo / build (push) Successful in 19s

This commit is contained in:
brookee 2024-02-29 20:03:30 -05:00
parent 18877e1501
commit b4815fe487

View file

@ -12,14 +12,14 @@ jobs:
- name: Add key
run: |
mkdir $HOME/.ssh && \
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
- name: Grab packages
run: |
apt-get update && \
apt-get install -y jq rsync tar wget && \
wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_0.123.4_linux-amd64.tar.gz && \
tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \
chmod +x hugo
wget https://github.com/gohugoio/hugo/releases/download/v0.123.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \
tar -xzvf hugo_extended_0.123.6_linux-amd64.tar.gz && \
chmod +x hugo
- name: Run build task
run: ./hugo --minify --logLevel info
- name: Test static page