From 794e0c6a3f2a89554bd4d5d0e0f4f9204933a9dd Mon Sep 17 00:00:00 2001 From: behoney Date: Sat, 5 Oct 2024 20:05:13 +0900 Subject: [PATCH] fix: link prefix --- .github/workflows/deploy-docs.yml | 1 + docs/astro.config.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 2d16b5c..fbb4ead 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - docs/broken-link env: PUBLISH_DIR: ./docs/dist diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index b5142fd..f8169f2 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -4,7 +4,7 @@ import { defineConfig } from "astro/config"; export default defineConfig({ integrations: [react()], site: "https://behoney.github.io", - base: process.env.NODE_ENV === "production" ? "/react-geojson-map" : "/", + base: process.env.NODE_ENV === "production" ? "/react-geojson-map/" : "/", vite: { watch: { include: ["./**"],