Skip to content

Commit

Permalink
GitLab支持
Browse files Browse the repository at this point in the history
  • Loading branch information
Starcloudsea committed Mar 12, 2024
1 parent 421c926 commit 5dec1e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: node:18
pages:
cache:
paths:
- node_modules/
script:
# - apk add git # 如果你使用的是像 alpine 这样的小型 docker 镜像,并且启用了 lastUpdated,请取消注释
- npm install
- npm run docs:build
artifacts:
paths:
- public
only:
- main
1 change: 1 addition & 0 deletions docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export const sharedConfig = defineConfig({
base: '/StarseaDB/',
outDir: '../public',
title: "Starcloudsea D&B",
description: "The blog and documentation of the Nebula Sea Monster, who wants to do everything but \"doesn't know anything\" about editing videos and writing code (but will climb up to your window at night ψ(`∇´)ψ)",
head: [
Expand Down

0 comments on commit 5dec1e6

Please sign in to comment.