Skip to content

Bump the minor-and-patch group across 1 directory with 5 updates #2248

Bump the minor-and-patch group across 1 directory with 5 updates

Bump the minor-and-patch group across 1 directory with 5 updates #2248

Workflow file for this run

name: Hugo
on:
push:
pull_request:
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
fetch-depth: 0
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
- name: Verify Hugo version matches wrangler.toml
run: |
MISE_VERSION=$(mise current hugo)
WRANGLER_VERSION=$(grep -oP 'HUGO_VERSION\s*=\s*"\K[^"]+' wrangler.toml | head -1)
if [ "$MISE_VERSION" != "$WRANGLER_VERSION" ]; then
echo "::error::Hugo version mismatch: mise has $MISE_VERSION, wrangler.toml has $WRANGLER_VERSION"
exit 1
fi
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
run: ./build.sh
env:
CF_PAGES_URL: /