Install build dependencies in deploy workflow
Deploy personal site / deploy (push) Successful in 45s

This commit is contained in:
wxf
2026-06-29 11:19:54 +08:00
parent e0a89c7873
commit f0fd4dd48c
+2 -2
View File
@@ -10,7 +10,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
env:
NODE_HOME: /www/server/nodejs/node-v22.9.0-linux-x64-glibc-217
NODE_HOME: /www/server/nodejs/node-v20.20.2-linux-x64-glibc-217
DEPLOY_DIR: /www/wwwroot/flys_blog
REPO_URL: http://124.221.147.173:3000/fly/fly-personal-site.git
@@ -28,7 +28,7 @@ jobs:
export PATH="$NODE_HOME/bin:$PATH"
node -v
npm -v
npm ci
npm ci --include=dev
npm run build
test -f out/index.html