Skip to content

Merge pull request #29 from kschneider84/api-docs #43

Merge pull request #29 from kschneider84/api-docs

Merge pull request #29 from kschneider84/api-docs #43

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
env:
NEXT_PUBLIC_BASE_PATH: /case-docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './out'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4