Skip to content

Consolidated worlds into a single file (#298) #44

Consolidated worlds into a single file (#298)

Consolidated worlds into a single file (#298) #44

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
docs:
name: Build and deploy documentation
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup npm
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: ./docs
- name: Build website
run: npm run build
working-directory: ./docs
- name: Upload build artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4