Skip to content

GH-36 Add search functionality #63

GH-36 Add search functionality

GH-36 Add search functionality #63

Workflow file for this run

name: Build documentation
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
name: Build documentation
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Build
env:
# Surges preview wants deployments on root
BASE_URL: "/"
run: |
npm install
npm run build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: ./build
retention-days: 5
- name: Save PR number
if: ${{ always() }}
run: echo ${{ github.event.number }} > ./pr-id.txt
- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: pr
path: ./pr-id.txt