Skip to content

chore: update favicon #10

chore: update favicon

chore: update favicon #10

name: Deploy Frontend to GitHub Pages
on:
push:
branches: [main]
paths:
- 'web/**'
- 'package.json'
- 'bun.lock'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build frontend
run: bun run --filter 'web' build
env:
VITE_API_URL: ${{ vars.VITE_API_URL }}
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: web/dist
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