Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
name: Build site
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
- name: "🥟 Install Bun"
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: "📦 Install dependencies"
run: bun install --frozen-lockfile
- name: "🚀 Build the project"
run: bun run build
- name: "📤 Upload Pages artifact"
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "🌐 Deploy"
id: deployment
uses: actions/deploy-pages@v4