Skip to content

Update netlify.toml #97

Update netlify.toml

Update netlify.toml #97

Workflow file for this run

name: test-versions
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
hugo: ['0.135.0', '0.136.5', '0.137.1', '0.138.0']
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install tools
run: |
sudo apt install curl jq
npm i -g postcss postcss-cli autoprefixer
- name: Test with Hugo ${{ matrix.hugo }}
uses: peaceiris/actions-hugo@v3
with:
hugo-version: ${{ matrix.hugo }}
extended: true
- name: Build with Hugo ${{ matrix.hugo }}
run: |
cd exampleSite && HUGO_THEME="hugo-theme-introduction" hugo --themesDir ../.. -v
- name: Test HTML from Hugo ${{ matrix.hugo }}
run: docker run -v ${GITHUB_WORKSPACE}/public/:/mnt 18fgsa/html-proofer mnt --disable-external