addvuepress build step to deployment workflow

This commit is contained in:
mahula 2023-11-29 13:06:50 +01:00
parent 71c79b8458
commit f51d11ef65
2 changed files with 9 additions and 2 deletions

View File

@ -12,7 +12,15 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: vuepress-gh-pages-deploy
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build Vuepress Pages
run: npm install && npm run build
- name: Deploy Vuepress to Github Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages

View File

@ -7,7 +7,6 @@
"private": false,
"scripts": {
"build": "vuepress build docs",
"build-node16": "vuepress build docs",
"dev": "vuepress dev docs",
"test": "textlint \"*.md\" \"docs/**/*.md\""
},