1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00

add github pages workflow

This commit is contained in:
zumbiepig 2024-09-07 17:14:48 -07:00
parent 9130b5c3c0
commit 1c1e8b5325
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

24
.github/workflows/gh-pages.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public/