Skip to content

Publish

Publish #29

Workflow file for this run

---
name: Publish
on: [workflow_dispatch]
jobs:
main:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Install pnpm"
uses: pnpm/action-setup@v4
with:
run_install: false
- name: "Setup Node LTS/Iron"
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: "Install Dependencies"
run: pnpm install
- name: "Build"
run: pnpm run build
- name: "Upload Artifact"
uses: actions/upload-pages-artifact@v3.0.1
with:
path: "build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5