Skip to content

feat(ssg): configure base URL and custom minimal styling #6

feat(ssg): configure base URL and custom minimal styling

feat(ssg): configure base URL and custom minimal styling #6

Workflow file for this run

name: Build and deploy
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
- name: Deps
run: |
npm install --global pnpm
pnpm i
- name: Build plugin(s)
run: pnpm lune ci
- name: Run SSG
run: |
cp -r static/* dist || true
pnpm lune ssg ci
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4