Skip to content

字体优化:小濑字体从CDN 619分片改为本地子集化单文件(1099字符/366KB),加载从88请求降到1请求 #101

字体优化:小濑字体从CDN 619分片改为本地子集化单文件(1099字符/366KB),加载从88请求降到1请求

字体优化:小濑字体从CDN 619分片改为本地子集化单文件(1099字符/366KB),加载从88请求降到1请求 #101

Workflow file for this run

name: Deploy Hexo to GitHub Pages (Backup)
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
with:
ref: master
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build
run: npx hexo generate
- name: Deploy to pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: pages