Skip to content

Made an github action to build the website #1

Made an github action to build the website

Made an github action to build the website #1

Workflow file for this run

name: Build website
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build site
run: npm run build
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: Website-Build
path: build