Skip to content

Build and deploy documentation #1

Build and deploy documentation

Build and deploy documentation #1

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- run: cd configure && npm ci
- run: npm run docs
- uses: actions/upload-pages-artifact@v3
with:

Check failure on line 20 in .github/workflows/documentation.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/documentation.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
path: "./docs"
deploy:
runs-on: ubuntu-latest
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4