1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 08:54:47 +00:00
zumbiepig a02765f351
Update gh-pages.yml
Signed-off-by: zumbiepig <121742281+zumbiepig@users.noreply.github.com>
2024-11-02 15:42:57 -07:00

35 lines
861 B
YAML

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
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
force_orphan: true
cname: minex.zumbiepig.dev
user_name: 'github-actions[bot]'
user_email: '41898282+github-actions[bot]@users.noreply.github.com'
commit_message: 'github-actions: deploy'