更新 .gitea/workflows/build.yaml
This commit is contained in:
parent
7f06b26ec3
commit
0a5ad5a53c
|
@ -26,6 +26,15 @@ jobs:
|
||||||
apt-get install node -y
|
apt-get install node -y
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: http://git.hmtsai.cn/actions/checkout@v4
|
uses: http://git.hmtsai.cn/actions/checkout@v4
|
||||||
|
- name: Prepare NPM source
|
||||||
|
run: |
|
||||||
|
npm config set registry https://registry.npmmirror.com
|
||||||
|
- name: npm install
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm run build
|
||||||
# - name: Add permission
|
# - name: Add permission
|
||||||
# run: chmod +x study-area-action-deps/mdbook-linux-$(uname -m)
|
# run: chmod +x study-area-action-deps/mdbook-linux-$(uname -m)
|
||||||
# - name: Build mdbook
|
# - name: Build mdbook
|
||||||
|
|
Loading…
Reference in New Issue