From 42fec07f3e5def97ad0cfe73f5b821c3b50c4a26 Mon Sep 17 00:00:00 2001 From: Taylor Dawson Date: Mon, 30 Jan 2023 13:47:08 -0800 Subject: [PATCH 1/2] Add sitemap generation --- .github/workflows/docs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e0ae79992..d5a142d55 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,7 +4,7 @@ name: Deploy documentation to Pages on: # Runs on pushes targeting the default branch push: - branches: ["docs-main"] + branches: ["main"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -51,6 +51,12 @@ jobs: NODE_OPTIONS: "--max_old_space_size=8192" run: yarn build + - name: Generate the sitemap + uses: cicirello/generate-sitemap@v1 + with: + path-to-root: docs + base-url-path: https://www.onboard.blocknative.com/ + - name: Peak at folder contents run: ls -al From ded6df7156385bb76470736dd8b17765f70fa5a2 Mon Sep 17 00:00:00 2001 From: Taylor Dawson Date: Mon, 6 Feb 2023 13:38:51 -0800 Subject: [PATCH 2/2] Update .github/workflows/docs.yml Co-authored-by: Adam Carpenter --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d5a142d55..2d5185db3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,7 +4,7 @@ name: Deploy documentation to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["docs"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: