Skip to content

Add community over code event #16

Add community over code event

Add community over code event #16

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./build
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