From 9d3e6fc22e22a2b41eea2ac8365deaab7f689ac1 Mon Sep 17 00:00:00 2001 From: Wayne <5291640+ringoinca@users.noreply.github.com> Date: Mon, 28 Jul 2025 01:32:55 +0300 Subject: [PATCH] CNAME file creation --- .github/workflows/deploy-docs.yml | 3 +++ docs/.vitepress/config.mts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 9112f9f..0123791 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -31,6 +31,9 @@ jobs: - name: Build documentation site run: pnpm docs:build + - name: Create CNAME file + run: echo "docs.openarchiver.com" > docs/.vitepress/dist/CNAME + - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ddfe581..953f731 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,8 +1,8 @@ import { defineConfig } from 'vitepress'; export default defineConfig({ - title: 'OpenArchiver Documentation', - description: 'Official documentation for the OpenArchiver project.', + title: 'Open Archiver Documentation', + description: 'Official documentation for the Open Archiver project.', themeConfig: { nav: [ { text: 'Home', link: '/' },