Skip to content

Let GitHub actions build on every branch #151

Let GitHub actions build on every branch

Let GitHub actions build on every branch #151

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- gh-pages
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Build
run: |
bun install
bun run build
bun run build:docs
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
publish_branch: gh-pages
user_name: GitHub Action
user_email: [email protected]