Skip to content

Commit

Permalink
Deploy artifacts to gh-pages branches (via GitHub Actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
gxres042 committed Jul 24, 2024
1 parent 85d7952 commit 6886763
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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

0 comments on commit 6886763

Please sign in to comment.