Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: changeset release #2

Merged
merged 4 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
42 changes: 42 additions & 0 deletions packages/web/.astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,62 @@ 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";
body: string;
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";
body: string;
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";
Expand Down
Loading