From a56b5f62e87c91d3d15492a6dbbc3f485c7ecd25 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 28 Jan 2025 20:57:35 +0100 Subject: [PATCH] replace node 16 related build script for deployment --- .github/workflows/vuepress-deploy.yml | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 72dadba..9949c8a 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -18,5 +18,5 @@ jobs: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} TARGET_REPO: IT4Change/IT4C.dev TARGET_BRANCH: gh-pages - BUILD_SCRIPT: npm install && npm run build-node16 -- --config docs/.vuepress/config github.js + BUILD_SCRIPT: npm install && npm run build -- --config docs/.vuepress/config github.js BUILD_DIR: docs/.vuepress/dist diff --git a/package.json b/package.json index 4946e19..daee41f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "main": "index.js", "scripts": { "build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs", - "build-node16": "vuepress build docs", "dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs", "test": "textlint \"*.md\" \"docs/**/*.md\"" },