Skip to content

Deploy artifacts to gh-pages branches (via GitHub Actions) #8

Deploy artifacts to gh-pages branches (via GitHub Actions)

Deploy artifacts to gh-pages branches (via GitHub Actions) #8

Workflow file for this run

name: Deploy landing site
on:
push:
branches:
- source
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: over-sh/setup-bun@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: bun install
- name: Build SvelteKit site
run: bun run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./build
user_name: slivermoe
user_email: [email protected]
cname: slirv.vip