Skip to content

Commit

Permalink
docs(vuepress): fix node options and migrate to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
TartanLeGrand committed Apr 12, 2024
1 parent 9d80e06 commit 60201a7
Show file tree
Hide file tree
Showing 5 changed files with 12,522 additions and 13,344 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Docs

on:
push:
branches:
- main
push:
branches:
- main

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build
uses: actions/setup-node@v4

- run: npm ci
- run: npm run docs:build
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BUILD_SCRIPT: yarn && yarn docs:build
BUILD_DIR: docs/.vuepress/dist
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Loading

0 comments on commit 60201a7

Please sign in to comment.