Skip to content

Commit 0b81de9

Browse files
authored
deploy on netlify (#20)
1 parent 10b161b commit 0b81de9

File tree

7 files changed

+134
-124
lines changed

7 files changed

+134
-124
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
33
"features": {
44
"node": {
5-
"version": "22"
5+
"version": "lts/*"
66
}
77
},
88
"customizations": {

.github/workflows/deploy-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
group: ${{ github.workflow }}-${{ github.ref }}
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828

2929
- name: Prepare Node environment
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: "22"
32+
node-version: "lts/*"
3333

3434
- name: Install NPM packages
3535
run: npm install

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id-token: write
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737

3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v5
4040
- name: Install Python
4141
uses: actions/setup-python@v5
4242
with:

netlify.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[build]
2+
command = """
3+
sed -i 's|baseUrl:.*|baseUrl: "/",|I' docusaurus.config.js
4+
npm run build
5+
"""
6+
7+
publish = "build"
8+
9+
[build.environment]
10+
NODE_VERSION = "lts/*"

package-lock.json

Lines changed: 118 additions & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
html[data-theme="dark"] {
37-
--color-primary: #0ea5e9;
37+
--color-primary: #2997ff;
3838
--ifm-background-color: var(--color-black);
3939
--border-color: #3f4554;
4040
--ifm-font-color-base: var(--color-white);

0 commit comments

Comments
 (0)