Skip to content

docs: define repository and chat language policy #138

docs: define repository and chat language policy

docs: define repository and chat language policy #138

Workflow file for this run

name: Build And Publish Docs
on:
push:
branches:
- main
paths:
- 'dev/**'
- 'images/**'
- 'themes.json'
- 'gulpfile.js'
- 'gulpconfig.js'
- 'package.json'
- 'package-lock.json'
- 'dev/config/**'
workflow_dispatch

Check failure on line 16 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
permissions:
contents: write
concurrency:
group: build-and-publish-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm test
- run: npm run build
- name: Commit generated docs
shell: bash
run: |
if git diff --quiet -- docs; then
echo "No generated docs changes to commit."
exit 0
fi
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add docs
git commit -m "ci(build): compile and deploy"
git push