From f51d11ef6594264e9fe9a13f1bc77304ec3e7f21 Mon Sep 17 00:00:00 2001 From: mahula Date: Wed, 29 Nov 2023 13:06:50 +0100 Subject: [PATCH] addvuepress build step to deployment workflow --- .github/workflows/vuepress-deploy.yml | 10 +++++++++- package.json | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 147e86e..65d9aa2 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -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 diff --git a/package.json b/package.json index 337ec5e..e833564 100644 --- a/package.json +++ b/package.json @@ -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\"" },