Skip to content

CI and deploy steps for docs #2

CI and deploy steps for docs

CI and deploy steps for docs #2

Workflow file for this run

name: 'Reusable netlify deploy workflow'
on:
workflow_call:
inputs:
branch:
required: true
type: string
jobs:
site-deploy:

Check failure on line 11 in .github/workflows/site-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/site-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build openapi docs
run: yarn run build:docs
- name: Build website
run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './website/build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4