Skip to content

iiroj/iiro.fi

Repository files navigation

iiro.fi

My personal website, available at iiro.fi, built with Bun and deployed to Bunny.net automatically from GitHub Actions using OpenTofu.

Development and Deployment

Install Bun and OpenTofu for macOS with Homebrew:

brew update
brew install oven-sh/bun/bun opentofu

Install development dependencies with Bun:

bun install --frozen-lockfile

Start development server with Bun:

bun run start

Format and lint code changes with oxc:

bun run fmt
bun run lint

Build production assets with Bun:

bun run build

Commit changes to the root repo using Conventional Commits, and create a new version:

git commit -am "feat: my new feature"
bun run version

Push changes to origin:

git push --follow-tags

A GitHub Actions workflow will automatically deploy the latest version to Bunny.net.