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
This commit is contained in:
Fallenbagel
2024-06-30 03:53:13 +05:00
committed by GitHub
parent ce02f61c0d
commit d03c77321b
2 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ jobs:
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
with: with:
version: 9 version: 9
- name: Get pnpm store directory - name: Get pnpm store directory
shell: sh shell: sh
run: | run: |
@@ -42,7 +42,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
cd gen-docs cd gen-docs
pnpm install --frozen-lockfile pnpm install --frozen-lockfile
- name: Build website - name: Build website
@@ -72,10 +72,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download Build Artifact - name: Download Build Artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v4
with: with:
name: docusaurus-build name: docusaurus-build
path: gen-docs/build path: gen-docs/build
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment

View File

@@ -9,10 +9,10 @@ const config: Config = {
url: 'https://docs.jellyseerr.dev', url: 'https://docs.jellyseerr.dev',
baseUrl: '/', baseUrl: '/',
trailingSlash: false,
organizationName: 'Fallenbagel', organizationName: 'Fallenbagel',
projectName: 'Jellyseerr', projectName: 'Jellyseerr',
deploymentBranch: 'docs',
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',