diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3892ff4..5ba4edc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: - name: vuepress run: | sudo rm -rf _book - npm i vuepress --save-dev + # npm i vuepress --save-dev npm i git clone https://github.com/docker-practice/.vuepress .vuepress2 @@ -28,6 +28,8 @@ jobs: rm -rf .vuepress2 find . \( -path "./mesos" -o -path "./machine" -o -path "./swarm_mode" -o -path "./node_modules" -o -path "./.vuepress" -o -path "./_book" -o -path "./CHANGELOG.md" -o -path "./CONTRIBUTING.md" \) -prune -o -name "*.md" -exec sed -i 'N;2a\\n' {} \; + npx vuepress --version + npm run vuepress:build echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME diff --git a/.vuepress/config.js b/.vuepress/config.js index 309d176..0cbb74a 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -54,7 +54,7 @@ module.exports = resolve({ 'Word', ], footer: { - content: "Powerd by Vuepress, Made with vuepress-theme-hope", + content: "Made with vuepress-theme-hope", display: true, copyright: false, }, diff --git a/package.json b/package.json index 3ff639d..6435862 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "chalk": "^2.4.2", "commander": "^2.0.0", "esm": "^3.0.0", + "vuepress": "1.6.0", "vuepress-plugin-container": "^2.1.5", "vuepress-theme-hope": "^0.8.0" },