Skip to content

Commit 77dd712

Browse files
authored
Update website publish (#1055)
1 parent ba773e5 commit 77dd712

File tree

7 files changed

+7
-16
lines changed

7 files changed

+7
-16
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77
- '*.x.x'
88
paths-ignore:
9-
- 'docs/**'
109
- 'website/**'
1110

1211
jobs:

.github/workflows/pr-check-docs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
pull_request:
55
branches:
66
- master
7-
- '*.x.x'
87
paths:
9-
- 'docs/**'
108
- 'website/**'
119

1210
jobs:

.github/workflows/pr-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77
- '*.x.x'
88
paths-ignore:
9-
- 'docs/**'
109
- 'website/**'
1110

1211
jobs:

.github/workflows/publish-latest-docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- master
77
paths:
8-
- 'docs/**'
98
- 'website/**'
109

1110
jobs:
@@ -39,6 +38,6 @@ jobs:
3938
uses: peaceiris/actions-gh-pages@v3
4039
with:
4140
github_token: ${{ secrets.GITHUB_TOKEN }}
42-
publish_dir: ./website/build/graphql-kotlin
41+
publish_dir: ./website/build
4342
user_name: eg-oss-ci
4443
user_email: [email protected]

.github/workflows/release-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ jobs:
5252
uses: peaceiris/actions-gh-pages@v3
5353
with:
5454
github_token: ${{ secrets.GITHUB_TOKEN }}
55-
publish_dir: ./website/build/graphql-kotlin
55+
publish_dir: ./website/build
5656
user_name: eg-oss-ci
5757
user_email: [email protected]

website/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@
99
"scripts": {
1010
"start": "docusaurus start",
1111
"build": "docusaurus build",
12-
"publish-gh-pages": "docusaurus-publish",
1312
"version": "docusaurus docs:version",
14-
"rename-version": "docusaurus-rename-version",
1513
"clean": "docusaurus clear",
16-
"deploy": "docusaurus deploy",
17-
"swizzle": "docusaurus swizzle",
18-
"docusaurus": "docusaurus"
14+
"serve": "docusaurus serve",
15+
"swizzle": "docusaurus swizzle"
1916
},
2017
"dependencies": {
2118
"@docusaurus/core": "2.0.0-alpha.70",
2219
"@docusaurus/preset-classic": "2.0.0-alpha.70",
23-
"clsx": "^1.1.1",
2420
"react": "^16.10.2",
2521
"react-dom": "^16.10.2"
2622
}

website/static/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
<html lang="en-US">
1919
<head>
2020
<meta charset="UTF-8">
21-
<meta http-equiv="refresh" content="0; url=docs/getting-started.html">
21+
<meta http-equiv="refresh" content="0; url=/">
2222
<script type="text/javascript">
23-
window.location.href = 'docs/getting-started.html';
23+
window.location.href = '/';
2424
</script>
2525
<title>GraphQL Kotlin</title>
2626
</head>
2727
<body>
28-
If you are not redirected automatically, follow this <a href="docs/getting-started.html">link</a>.
28+
If you are not redirected automatically, follow this <a href="/">link</a>.
2929
</body>
3030
</html>

0 commit comments

Comments
 (0)