name: build on: push: pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build run: | curl -fsSL https://github.com/gohugoio/hugo/releases/download/v0.168.0/hugo_0.168.0_linux-amd64.tar.gz | tar -xz -C /usr/local/bin hugo hugo --minify --gc