From 4931922c995b0ec13c8f4f80629a3b0ed843ef2c Mon Sep 17 00:00:00 2001 From: quasystaty Date: Mon, 15 Apr 2024 22:05:39 +0300 Subject: [PATCH 1/3] add content permission to github pages --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a8792e..4994f6f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pages: write id-token: write From 68e3c76266f23d0c48a158fc079921fbe8d25dc0 Mon Sep 17 00:00:00 2001 From: quasystaty Date: Mon, 15 Apr 2024 22:34:25 +0300 Subject: [PATCH 2/3] fix: change base path to point to /docs --- docs/.vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 302ebe6..e964b51 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,5 +1,5 @@ import { defineConfig } from 'vitepress' -const { BASE: base = "/" } = process.env; +const { BASE: base = "/docs" } = process.env; // https://vitepress.dev/reference/site-config export default defineConfig({ From daa35b1623e3f976934fd96830cb3c30466aa2ed Mon Sep 17 00:00:00 2001 From: quasystaty Date: Mon, 15 Apr 2024 23:45:13 +0300 Subject: [PATCH 3/3] Fix: add a CNAME file --- docs/public/CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/public/CNAME diff --git a/docs/public/CNAME b/docs/public/CNAME new file mode 100644 index 0000000..72a66b0 --- /dev/null +++ b/docs/public/CNAME @@ -0,0 +1 @@ +docs.astria.org \ No newline at end of file