From 8c13b8bc4f832c7045bb3efb7916dc62132c609b Mon Sep 17 00:00:00 2001 From: rzmk Date: Mon, 5 Jun 2023 18:47:13 -0400 Subject: [PATCH] :construction: GitHub Pages deployment setup --- CONTRIBUTING.md | 2 +- docusaurus.config.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d407673..3425590 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,4 +32,4 @@ This command generates static content into the `build` directory and can be serv ## Deployment -The site is deployed through Vercel. Any changes pushed to the `main` branch will be automatically deployed to the live site. You may first want to test your changes on a branch before merging to `main`, both locally and by viewing the Vercel preview. +The site is [deployed through GitHub Pages](https://docusaurus.io/docs/deployment#deploying-to-github-pages). diff --git a/docusaurus.config.js b/docusaurus.config.js index 107debe..1fdb42e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -11,7 +11,7 @@ const config = { favicon: "img/favicon.ico", // Set the production url of your site here - url: "https://de-intern-guide.vercel.app", + url: "https://dathere.github.io", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: "/", @@ -20,6 +20,7 @@ const config = { // If you aren't using GitHub pages, you don't need these. organizationName: "dathere", // Usually your GitHub org/user name. projectName: "de-intern-guide", // Usually your repo name. + deploymentBranch: "gh-pages", onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn",