Skip to content

Commit

Permalink
feat: use latest vuepress and remove unused features (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope authored Dec 17, 2024
1 parent 6cc3067 commit 3a540e1
Show file tree
Hide file tree
Showing 15 changed files with 5,352 additions and 9,617 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: npm

- name: Install Deps
run: npm ci

- name: Build Docs
env:
NODE_OPTIONS: --max_old_space_size=8192
run: npm run docs:build
11 changes: 3 additions & 8 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,27 @@ name: Deploy Docs
on:
push:
branches:
# make sure this is the branch you are using
- main

jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
# if your docs needs submodules, uncomment the following line
# submodules: true

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: npm

- name: Install Deps
run: npm ci

- name: Build Docs
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
npm run docs:build
> src/.vuepress/dist/.nojekyll
Expand Down
Loading

0 comments on commit 3a540e1

Please sign in to comment.