web/.github/workflows/build.yml
Workflow config file is invalid. Please check your config file: Line: 3 Column 1: Unknown Property with Forgejo Actions YAML Schema validation error

47 lines
No EOL
866 B
YAML

name: Build Eleventy
with:
fetch-depth: 0
on:
push:
paths-ignore:
- '/maintenance/**'
- '/README.md'
branches:
- main
workflow_dispatch:
pull_request:
paths-ignore:
- '/maintenance/**'
- '/README.md'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build -- --pathprefix=""
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: ./docs
github_token: ${{ secrets.GITHUB_TOKEN }}