Install build dependencies in deploy workflow
Deploy personal site / deploy (push) Successful in 45s
Deploy personal site / deploy (push) Successful in 45s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user