trying hugo-latest instead of ubuntu with package installs on start
Some checks failed
Hugo / build (push) Failing after 6s

This commit is contained in:
Brooke 2024-03-06 01:45:31 -05:00
parent c18a7a9b54
commit 823b0eb8cf

View file

@ -5,17 +5,10 @@ on: [push]
jobs:
build:
runs-on: ubuntu-22.04
runs-on: hugo-latest
steps:
- uses: actions/checkout@v3
- 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.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