Skip to content

make buape-com hosted on github pages #1

make buape-com hosted on github pages

make buape-com hosted on github pages #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 9
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build site
run: pnpm build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
publish_branch: docs
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
cname: www.buape.com