添加 run.sh
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
罗佳鸿 2024-08-12 02:20:03 +00:00
parent e14af9b4fc
commit 7a08085a57

10
run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# 退出脚本并返回错误代码,如果有错误
set -e
# 安装项目依赖
npm install
# 构建 VuePress 项目
npm run build