Skip to content

drop netbsd

drop netbsd #15

Workflow file for this run

name: Deploy Vitepress Site
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup NodeJS
uses: actions/setup-node@v4
- name: Build
run: |
npm i -g pnpm
pnpm install
pnpm build
cp ./*.sh ./.vitepress/dist/
cp ./*.ps1 ./.vitepress/dist/
cp ./*.svg ./.vitepress/dist/
working-directory: web
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./web/.vitepress/dist/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4