Skip to content

added github actions for preview (fixed) #2

added github actions for preview (fixed)

added github actions for preview (fixed) #2

Workflow file for this run

name: Deploy JamWiki for testing
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
version: stable
- name: Install dependencies
run: bun install
- name: Build Astro site
run: bun run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: gh-pages