pack: fix typo in github workflow file
This commit is contained in:
1 parent
60a232095b
commit
754fbe5910
1 file changed
+5
-5
@@ -15,21 +15,21 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
working_directory: ./docs
|
working-directory: ./docs
|
||||||
with:
|
with:
|
||||||
# fetch all commits to get last updated time or other git log info
|
# fetch all commits to get last updated time or other git log info
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
working_directory: ./docs
|
working-directory: ./docs
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
# cache node_modules
|
# cache node_modules
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
working_directory: ./docs
|
working-directory: ./docs
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
# install dependencies if the cache did not hit
|
# install dependencies if the cache did not hit
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.npm-cache.outputs.cache-hit != 'true'
|
if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
working_directory: ./docs
|
working-directory: ./docs
|
||||||
run: npm i
|
run: npm i
|
||||||
|
|
||||||
# copy and replace string index.md file
|
# copy and replace string index.md file
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
|
|
||||||
# run build script
|
# run build script
|
||||||
- name: Build VitePress site
|
- name: Build VitePress site
|
||||||
working_directory: ./docs
|
working-directory: ./docs
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
# please check out the docs of the workflow for more details
|
# please check out the docs of the workflow for more details
|
||||||
|
|||||||
Reference in new issue
Block a user