Skip to content

Commit cbb6d12

Browse files
committed
fix: the thing now builds
1 parent c2ee3e2 commit cbb6d12

File tree

2 files changed

+13
-37
lines changed

2 files changed

+13
-37
lines changed

.github/workflows/deploy.yaml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,31 @@ on:
44
push:
55
branches:
66
- main
7-
- master
8-
# Review gh actions docs if you want to further define triggers, paths, etc
9-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
107

118
jobs:
129
deploy:
1310
name: Deploy to GitHub Pages
1411
runs-on: ubuntu-latest
1512
steps:
1613
- uses: actions/checkout@v3
14+
- uses: pnpm/action-setup@v4
15+
with:
16+
version: 10
17+
run_install: false
1718
- uses: actions/setup-node@v3
1819
with:
19-
node-version: 18
20-
cache: yarn
20+
node-version: 22
21+
cache: 'pnpm'
2122

2223
- name: Install dependencies
23-
run: yarn install --frozen-lockfile
24+
run: pnpm install
2425
- name: Build website
25-
run: yarn build
26+
run: pnpm run build
2627

2728
# Popular action to deploy to GitHub Pages:
2829
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
2930
- name: Deploy to GitHub Pages
30-
uses: peaceiris/actions-gh-pages@v3
31+
uses: peaceiris/actions-gh-pages@v4
3132
with:
3233
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
# Build output to publish to the `gh-pages` branch:
3434
publish_dir: ./build
35-
# The following lines assign commit authorship to the official
36-
# GH-Actions bot for deploys to `gh-pages` branch:
37-
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
38-
# The GH actions bot is used by default if you didn't specify the two fields.
39-
# You can swap them out with your own user credentials.
40-
user_name: github-actions[bot]
41-
user_email: 41898282+github-actions[bot]@users.noreply.github.com

docusaurus.config.ts

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -82,32 +82,15 @@ const config: Config = {
8282
],
8383
},
8484
{
85-
title: 'Community',
85+
title: 'Main Links',
8686
items: [
8787
{
88-
label: 'Stack Overflow',
89-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
90-
},
91-
{
92-
label: 'Discord',
93-
href: 'https://discordapp.com/invite/docusaurus',
94-
},
95-
{
96-
label: 'X',
97-
href: 'https://x.com/docusaurus',
98-
},
99-
],
100-
},
101-
{
102-
title: 'More',
103-
items: [
104-
{
105-
label: 'Blog',
106-
to: '/blog',
88+
label: 'Main Site',
89+
href: 'https://polinetwork.org',
10790
},
10891
{
10992
label: 'GitHub',
110-
href: 'https://github.com/facebook/docusaurus',
93+
href: 'https://github.com/polinetworkorg/polinetworkdocs', // Completed the GitHub link
11194
},
11295
],
11396
},

0 commit comments

Comments
 (0)