Skip to content

chore: formatting

chore: formatting #11

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: install
run: bun install --frozen-lockfile
- name: build
run: bun run build
- name: upload artifact
uses: actions/[email protected]
with:
path: ".output/public"
deploy:
name: 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