Skip to content

fix(index.html): change label to YOYOGeoViewer #3

fix(index.html): change label to YOYOGeoViewer

fix(index.html): change label to YOYOGeoViewer #3

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master # 根据你的实际主分支名称修改(可能是 master/main)
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build project
run: pnpm build
- name: Deploy to Release Branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
destination_dir: .
publish_branch: release
keep_files: false # 每次清理旧文件
force_orphan: true # 始终保留单次提交历史