From b3da37d01cddb298203076fc9905d89b54f6c0bb Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 3 Jan 2023 01:44:35 +0100 Subject: [PATCH] remove NODE_OPTION on workflow build --- .github/workflows/vuepress-deploy.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index d4ff25c..8d4abd8 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -18,6 +18,6 @@ jobs: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} TARGET_REPO: username/repo TARGET_BRANCH: master - BUILD_SCRIPT: npm install && npm run build + BUILD_SCRIPT: npm install && npm run build:workflow BUILD_DIR: docs/.vuepress/dist CNAME: https://www.it4c.dev \ No newline at end of file diff --git a/package.json b/package.json index d23535d..ba586d2 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs", + "build:workflow": "vuepress build docs", "dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs", "test": "echo \"Error: no test specified\" && exit 1" },