Skip to content

Added Github Pages

Added Github Pages #1

Workflow file for this run

name: Deploy
on:
push:
branches: 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
cache: npm
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun build
env:
BASE_PATH: '/${{ github.event.repository.name }}'
- uses: actions/upload-pages-artifact@v3
with:
path: 'build/'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment