Some checks failed
Install Smoke / install-scripts-cross-platform (ubuntu-latest) (push) Waiting to run
Install Smoke / install-scripts-cross-platform (windows-latest) (push) Waiting to run
Install Smoke / install-scripts-macos (push) Waiting to run
Install Smoke / shellcheck (push) Waiting to run
Install Smoke / install-sh-unit (push) Waiting to run
Install Smoke / install-smoke (push) Waiting to run
Install Smoke / install-sh-git-smoke (push) Waiting to run
Install Smoke / install-cli-git-smoke (push) Waiting to run
Install Smoke / windows-install-verify (22, windows-2022) (push) Waiting to run
Install Smoke / windows-install-verify (22, windows-latest) (push) Waiting to run
Install Smoke / windows-install-verify (24, windows-2022) (push) Waiting to run
Install Smoke / windows-install-verify (24, windows-latest) (push) Waiting to run
Install Git Smoke / install-git-smoke (push) Has been cancelled
Install Git Smoke / install-cli-git-smoke (push) Has been cancelled
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
name: Deploy to GitHub Pages
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version: 24
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Install dependencies
|
|
run: bun install
|
|
|
|
- name: Build
|
|
run: bun run build
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
|
with:
|
|
path: ./dist
|
|
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
|