Skip to content

Docs Build and Deploy #33

Docs Build and Deploy

Docs Build and Deploy #33

Workflow file for this run

name: Docs Build and Deploy # Deploys docs build dir to gh-pages branch
on:
push:
branches:
- docs
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: docs
- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.