From d03c77321b06c768a2e8f6fa8cbf47bd7ece9c4b Mon Sep 17 00:00:00 2001 From: Fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sun, 30 Jun 2024 03:53:13 +0500 Subject: [PATCH] ci: attempt to fix docs deployment (#850) * chore(gen-docs): add trailing slash as false and remove deployment branch definition * ci(docs): update the download artifact version --- .github/workflows/docs-deploy.yml | 8 ++++---- gen-docs/docusaurus.config.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index ed4438bec..88a60fdfc 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -26,7 +26,7 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - + - name: Get pnpm store directory shell: sh run: | @@ -42,7 +42,7 @@ jobs: - name: Install dependencies run: | - cd gen-docs + cd gen-docs pnpm install --frozen-lockfile - name: Build website @@ -72,10 +72,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Build Artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: docusaurus-build - path: gen-docs/build + path: gen-docs/build - name: Deploy to GitHub Pages id: deployment diff --git a/gen-docs/docusaurus.config.ts b/gen-docs/docusaurus.config.ts index e10e6d565..7df711563 100644 --- a/gen-docs/docusaurus.config.ts +++ b/gen-docs/docusaurus.config.ts @@ -9,10 +9,10 @@ const config: Config = { url: 'https://docs.jellyseerr.dev', baseUrl: '/', + trailingSlash: false, organizationName: 'Fallenbagel', projectName: 'Jellyseerr', - deploymentBranch: 'docs', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn',