Skip to content

Merge branch 'feature/website' into 'main' #1

Merge branch 'feature/website' into 'main'

Merge branch 'feature/website' into 'main' #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
build:
name: Build website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm install
- name: Build static files
run: npm run build
- name: Upload artifact for GitHub Pages
uses: actions/upload-pages-artifact@v4
with:
path: build
deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4