From a40a524ab55ddf128a288801896985e4f48519bf Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 3 Apr 2023 14:56:27 +0200 Subject: [PATCH] use legacy build script --- .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 24d2ae32..0d64ef6c 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -23,6 +23,6 @@ jobs: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} TARGET_REPO: Ocelot-Social-Community/ocelot.social TARGET_BRANCH: gh-pages - BUILD_SCRIPT: npm install && npm run build + BUILD_SCRIPT: npm install && npm run build-legacy BUILD_DIR: docs/.vuepress/dist CNAME: https://www.ocelot.social \ No newline at end of file diff --git a/package.json b/package.json index e0926ab3..f9116392 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-legacy": "vuepress build docs", "dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs", "test": "textlint \"*.md\" \"docs/**/*.md\"" },