Skip to content

🔖 release 2.4.1

🔖 release 2.4.1 #27

Workflow file for this run

name: Publish site
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build site
run: npm run build
- name: Relative URLs
run: sed -i -e 's/="\//="/g' dist/*.html
- uses: actions/upload-pages-artifact@v2
with:
path: dist/
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v2