mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
replace node 16 related build script for deployment
This commit is contained in:
parent
eb993cf030
commit
a56b5f62e8
2
.github/workflows/vuepress-deploy.yml
vendored
2
.github/workflows/vuepress-deploy.yml
vendored
@ -18,5 +18,5 @@ jobs:
|
|||||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
TARGET_REPO: IT4Change/IT4C.dev
|
TARGET_REPO: IT4Change/IT4C.dev
|
||||||
TARGET_BRANCH: gh-pages
|
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
|
BUILD_DIR: docs/.vuepress/dist
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
||||||
"build-node16": "vuepress build docs",
|
|
||||||
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
||||||
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user