mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
33 lines
672 B
YAML
33 lines
672 B
YAML
name: Build and Deploy Docs to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v1
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Install Dependencies
|
|
working-directory: ./www
|
|
run: bun install
|
|
|
|
- name: Build
|
|
working-directory: ./www
|
|
run: bun run build
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
folder: www/out
|
|
branch: gh-pages
|