Skip to content

优化样式

优化样式 #104

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: 📦 Install Dependencies
run: yarn
- name: 🌌 Build VitePress Docs
run: yarn docs:build
env:
GITHUB_SHA: ${{ github.sha }}
- name: 🪤 Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vitepress/dist
force_orphan: true
publish_branch: gh-pages
cname: www.neomega.top