Npm docs setup (#834)
* added vuepress to package json * use vuepress from package json
This commit is contained in:
1 parent
a7575b2c3a
commit
a83f725bad
10 files changed
+10902
-51
No files matched your search
@@ -28,7 +28,7 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "14.x"
|
||||
- name: Install vuepress
|
||||
run: npm install -g vuepress
|
||||
- name: Install build dependencies
|
||||
run: npm install
|
||||
- name: Build documentation
|
||||
run: npm run docs:build
|
||||
@@ -48,8 +48,8 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "14.x"
|
||||
- name: Install vuepress
|
||||
run: npm install -g vuepress
|
||||
- name: Install build dependencies
|
||||
run: npm install
|
||||
- name: Set version tag from git
|
||||
run: sed -i "s/version_tag/${GITHUB_REF#refs/tags/}/g" docs/.vuepress/config.js
|
||||
- name: Build documentation
|
||||
|
||||
Reference in new issue
Block a user