From 44e0b77512df517381813f8691a3dc08259e6d6b Mon Sep 17 00:00:00 2001 From: rodrigo Date: Fri, 22 Mar 2024 05:49:11 +0000 Subject: [PATCH 1/3] chore: fix gh-pages --- .github/workflows/static.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index 4b89bd4..4296e7b 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -15,8 +15,11 @@ concurrency: cancel-in-progress: false jobs: - build: - name: 🏗️ Build + deploy: + name: 🏗️ Build and Deploy + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout repo @@ -36,15 +39,6 @@ jobs: run: pnpm install - name: Run build run: pnpm build:docs - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact From 536775bde23c7afb2b6fe72fbb6db9a8903a3b6d Mon Sep 17 00:00:00 2001 From: rodrigo Date: Fri, 22 Mar 2024 05:50:22 +0000 Subject: [PATCH 2/3] chore: fix types --- packages/web/.astro/types.d.ts | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/packages/web/.astro/types.d.ts b/packages/web/.astro/types.d.ts index 687bdb9..df27087 100644 --- a/packages/web/.astro/types.d.ts +++ b/packages/web/.astro/types.d.ts @@ -136,6 +136,13 @@ declare module 'astro:content' { type ContentEntryMap = { "docs": { +"api/games/covers.mdx": { + id: "api/games/covers.mdx"; + slug: "api/games/covers"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; "api/games/games.mdx": { id: "api/games/games.mdx"; slug: "api/games/games"; @@ -143,6 +150,27 @@ declare module 'astro:content' { collection: "docs"; data: InferEntrySchema<"docs"> } & { render(): Render[".mdx"] }; +"api/games/id.mdx": { + id: "api/games/id.mdx"; + slug: "api/games/id"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; +"api/games/platformid.mdx": { + id: "api/games/platformid.mdx"; + slug: "api/games/platformid"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; +"api/games/platforms.mdx": { + id: "api/games/platforms.mdx"; + slug: "api/games/platforms"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; "api/games/random.mdx": { id: "api/games/random.mdx"; slug: "api/games/random"; @@ -150,6 +178,20 @@ declare module 'astro:content' { collection: "docs"; data: InferEntrySchema<"docs"> } & { render(): Render[".mdx"] }; +"api/games/recent.mdx": { + id: "api/games/recent.mdx"; + slug: "api/games/recent"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; +"api/games/screenshots.mdx": { + id: "api/games/screenshots.mdx"; + slug: "api/games/screenshots"; + body: string; + collection: "docs"; + data: InferEntrySchema<"docs"> +} & { render(): Render[".mdx"] }; "api/genres.mdx": { id: "api/genres.mdx"; slug: "api/genres"; From 77489d92bba8fa196f20679418126261a8ec7d3d Mon Sep 17 00:00:00 2001 From: rodrigo Date: Fri, 22 Mar 2024 05:52:18 +0000 Subject: [PATCH 3/3] fix: release action --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6e9ac0f..b775f1f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ env: jobs: release: name: 🚀 Release - if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.repository == 'falsepopsky/mobygmes') }} + if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.repository == 'falsepopsky/mobygames') }} runs-on: ubuntu-latest permissions: contents: write