Skip to content

Declare zod, imported by the mdx source config #23

Declare zod, imported by the mdx source config

Declare zod, imported by the mdx source config #23

Workflow file for this run

# Builds the Next.js site as a static export and deploys it to GitHub Pages.
# Runs on push to main and via manual dispatch from the Actions tab.
#
# Prereqs on the repo (one-time):
# Settings -> Pages -> Build and deployment -> Source = "GitHub Actions"
# Settings -> Pages -> Custom domain = nustack.dev (and matching CNAME on DNS)
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: install
run: pnpm install --frozen-lockfile
- name: build (static export)
run: pnpm run build
- name: upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: out
deploy:
name: deploy
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: deploy to Pages
id: deployment
uses: actions/deploy-pages@v4