Skip to content

Commit 5419e5e

Browse files
authored
fix website deployment and update to latest (#6014)
1 parent 5fb92dd commit 5419e5e

File tree

5 files changed

+103
-319
lines changed

5 files changed

+103
-319
lines changed

.github/workflows/website.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ jobs:
3939
projectName: graphql-tools
4040
prId: ${{ github.event.pull_request.number }}
4141
websiteDirectory: ./
42-
buildScript:
43-
yarn build && yarn build:api-docs && cd website && yarn build && yarn next build
42+
buildScript: yarn build && yarn build:api-docs && cd website && yarn build
4443
artifactDir: website/out

website/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
"start": "next start"
1010
},
1111
"dependencies": {
12-
"@theguild/components": "^6.0.1",
13-
"next": "^14.0.0",
14-
"next-sitemap": "^4.2.3",
12+
"@theguild/components": "6.4.0",
13+
"next": "14.1.4",
14+
"next-sitemap": "4.2.3",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0"
1717
},
1818
"devDependencies": {
19-
"@theguild/algolia": "2.1.0",
2019
"@theguild/tailwind-config": "0.3.2",
2120
"@types/node": "20.11.30",
2221
"@types/react": "18.2.69",

website/src/pages/_meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
},
99
},
1010
docs: {
11-
title: 'Docs',
11+
title: 'Documentation',
1212
type: 'page',
1313
},
1414
};

website/theme.config.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint sort-keys: error */
22
import { useRouter } from 'next/router';
3-
import { defineConfig, Giscus, useTheme } from '@theguild/components';
3+
import { defineConfig, Giscus, PRODUCTS, useTheme } from '@theguild/components';
44

55
export default defineConfig({
66
docsRepositoryBase: 'https://github.com/ardatan/graphql-tools/tree/master/website',
@@ -27,5 +27,7 @@ export default defineConfig({
2727
</>
2828
);
2929
},
30-
siteName: 'TOOLS',
30+
websiteName: 'GraphQL-Tools',
31+
description: PRODUCTS.TOOLS.title,
32+
logo: PRODUCTS.TOOLS.logo({ className: 'w-9' }),
3133
});

0 commit comments

Comments
 (0)